#AF99CD#AF99CD
#AF99CD is a light, moderate violet. Relative luminance 0.363; OKLCH L 72.0% C 0.078 H 303.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AF99CD |
|---|---|
| RGB | rgb(175, 153, 205) |
| HSL | hsl(265, 34%, 70%) |
| HSV | hsv(265, 25%, 80%) |
| CMYK | cmyk(14.6%, 25.4%, 0%, 19.6%) |
| CIE-LAB | lab(66.75, 18.28, -23.66) |
| CIE-LCH | lch(66.75, 29.90, 307.68°) |
| OKLab | oklab(72.04% 0.0433 -0.0647) |
| OKLCH | oklch(72.04% 0.078 303.8) |
| XYZ | xyz(40.0877, 36.3043, 62.6413) |
| Luminance | 0.3630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 2.85
Pale Purple
#B790D4
ΔE00 4.50
Lavender (survey)
#C79FEF
ΔE00 6.98
Lilac
#C8A2C8
ΔE00 7.39
Heather
#A484AC
ΔE00 7.92
Wisteria
#A87DC2
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF99CD #B7CD99
analogous
#999DCD #AF99CD #C999CD
triadic
#AF99CD #CDAF99 #99CDAF
tetradic
#AF99CD #CD999D #B7CD99 #99CDC9
square
#AF99CD #CD999D #B7CD99 #99CDC9
split-complementary
#AF99CD #CDC999 #9DCD99
monochromatic
#704D9E #8F70B9 #AF99CD #CFC2E1 #EFEAF5
Accessibility & contrast
On white
2.54
#AF99CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#AF99CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF99CD
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF99CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF99CD | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FA2CF
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#ABA0AB
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #af99cd; /* rgb */ color: rgb(175, 153, 205); /* oklch */ color: oklch(72.0% 0.078 303.8);
Tailwind
colors: {
custom: {
50: '#c7b7dc',
500: '#af99cd',
950: '#000000',
},
}SCSS
$custom: #af99cd; $custom-light: #c7b7dc; $custom-dark: #000000;
JSON
{
"hex": "#af99cd",
"rgb": {
"r": 175,
"g": 153,
"b": 205
},
"hsl": {
"h": 265.385,
"s": 34.211,
"l": 70.196
},
"oklch": {
"l": 0.72044,
"c": 0.07786,
"h": 303.8
},
"luminance": 0.36304
}Semantic roles & 50–950 ramp
primary
#AF99CD
secondary
#E2E8DA
accent
#AD387C
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083