#AF66CC#AF66CC
#AF66CC is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.2% C 0.164 H 315.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF66CC |
|---|---|
| RGB | rgb(175, 102, 204) |
| HSL | hsl(283, 50%, 60%) |
| HSV | hsv(283, 50%, 80%) |
| CMYK | cmyk(14.2%, 50%, 0%, 20%) |
| CIE-LAB | lab(55.05, 46.34, -41.28) |
| CIE-LCH | lch(55.05, 62.06, 318.30°) |
| OKLab | oklab(63.18% 0.1173 -0.1148) |
| OKLCH | oklch(63.18% 0.164 315.6) |
| XYZ | xyz(33.3280, 22.9773, 59.7945) |
| Luminance | 0.2298 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.93
Amethyst
#9B5FC0
ΔE00 4.70
Soft Purple
#A66FB5
ΔE00 5.35
Deep Lilac
#966EBD
ΔE00 5.74
Light Urple
#B36FF6
ΔE00 7.05
Wisteria
#A87DC2
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF66CC #83CC66
analogous
#7C66CC #AF66CC #CC66B6
triadic
#AF66CC #CCAF66 #66CCAF
tetradic
#AF66CC #CC7C66 #83CC66 #66B6CC
square
#AF66CC #CC7C66 #83CC66 #66B6CC
split-complementary
#AF66CC #B6CC66 #66CC7C
monochromatic
#702E8A #953DB8 #AF66CC #C794DB #DFC2EB
Accessibility & contrast
On white
3.75
#AF66CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#AF66CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF66CC
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF66CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF66CC | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#6686C9
Tritanopia (blue-blind)
#AD7590
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #af66cc; /* rgb */ color: rgb(175, 102, 204); /* oklch */ color: oklch(63.2% 0.164 315.6);
Tailwind
colors: {
custom: {
50: '#c994dc',
500: '#af66cc',
950: '#000000',
},
}SCSS
$custom: #af66cc; $custom-light: #c994dc; $custom-dark: #000000;
JSON
{
"hex": "#af66cc",
"rgb": {
"r": 175,
"g": 102,
"b": 204
},
"hsl": {
"h": 282.941,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.63175,
"c": 0.16414,
"h": 315.6
},
"luminance": 0.22976
}Semantic roles & 50–950 ramp
primary
#AF66CC
secondary
#BEDBB3
accent
#DA4E76
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83