Luminance
0.204
Category
Purple
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#AF52DEAF52DERGB
rgb(175, 82, 222)R:175 G:82 B:222HSL
hsl(280, 68%, 60%)H:280° S:68% L:60%HSV / HSB
hsv(280, 63%, 87%)H:280° S:63% V:87%CMYK
cmyk(21%, 63%, 0%, 13%)C:21 M:63 Y:0 K:13LAB
lab(52, 60, -56)L:52 a:60 b:-56OKLCH
oklch(61.5% 0.213 312.4)L:61.5% C:0.213 H:312.4°Code Formats
color: #AF52DE;UIColor(red: 0.686, green: 0.322, blue: 0.871, alpha: 1.0)Color(0xFFAF52DE)Color(0xFFAF52DE)#FFAF52DEContrast Analysis
WCAG compliance with grayscale colors
On White
4.13:1
On Black
5.08:1
Grayscale Contrast
0%
5.1
AA10%
4.2
AA-large20%
3.1
AA-large30%
2.0
Fail40%
1.4
Fail50%
1.0
Fail60%
1.4
Fail70%
2.0
Fail80%
2.6
Fail90%
3.3
AA-large100%
4.1
AA-largeBest Grayscale Contrast
#000000 with ratio 5.08:1
Color Harmonies
Harmonious color combinations
complementary
Two colors opposite on the color wheel (180°)
split-complementary
Base color + two colors adjacent to its complement
triadic
Three colors evenly spaced (120° apart)
tetradic
Four colors evenly spaced (90° apart)
analogous
Three colors adjacent on the color wheel (30° apart)
Color Variations
Tints, shades, tones, and full scale
Color Scale (50-900)
50
100
200
300
400
500
600
700
800
900
Tints (Lighter)
Shades (Darker)
Tones (Desaturated)
Gradients (OKLCH)
Primary
90°linear-gradient(90deg, #D8A9EF 0%, #7D21AB 100%)linear-gradient(90deg, oklch(80.1% 0.109 314.4) 0%, oklch(46.5% 0.206 310.9) 100%)Vibrant
135°linear-gradient(135deg, #C873F2 0%, #A709F6 100%)linear-gradient(135deg, oklch(69.9% 0.195 313.3) 0%, oklch(57.2% 0.289 307.9) 100%)Complementary
90°linear-gradient(90deg, #AF52DE 0%, #82DE54 100%)linear-gradient(90deg, oklch(61.5% 0.213 312.4) 0%, oklch(81.5% 0.195 136.7) 100%)Analogous
90°linear-gradient(90deg, #6B54DE 0%, #AF52DE 50%, #DE54C7 100%)linear-gradient(90deg, oklch(54.7% 0.201 285.3) 0%, oklch(61.5% 0.213 312.4) 50%, oklch(66.6% 0.213 334.9) 100%)Sunset
90°linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)Ocean
135°linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)Dark Mode
180°linear-gradient(180deg, #B054DE 0%, #22132A 100%)linear-gradient(180deg, oklch(61.9% 0.211 312.6) 0%, oklch(21.9% 0.048 313.0) 100%)Radial Glow
Radialradial-gradient(circle, #CE94EB 0%, #8D25C1 100%)radial-gradient(circle, oklch(75.4% 0.136 313.9) 0%, oklch(50.6% 0.226 310.8) 100%)💡 About OKLCH Gradients
OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).
Generate Full Palette
Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.