#AF99DB#AF99DB
#AF99DB is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.6% C 0.097 H 299.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF99DB |
|---|---|
| RGB | rgb(175, 153, 219) |
| HSL | hsl(260, 48%, 73%) |
| HSV | hsv(260, 30%, 86%) |
| CMYK | cmyk(20.1%, 30.1%, 0%, 14.1%) |
| CIE-LAB | lab(67.29, 21.41, -30.60) |
| CIE-LCH | lch(67.29, 37.35, 304.98°) |
| OKLab | oklab(72.63% 0.0473 -0.0843) |
| OKLCH | oklch(72.63% 0.097 299.3) |
| XYZ | xyz(41.8538, 37.0107, 71.9429) |
| Luminance | 0.3701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 1.43
Pale Purple
#B790D4
ΔE00 4.15
Lavender (survey)
#C79FEF
ΔE00 5.09
Baby Purple
#CA9BF7
ΔE00 6.39
Pastel Purple
#CAA0FF
ΔE00 6.84
Lilac (survey)
#CEA2FD
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF99DB #C5DB99
analogous
#99A4DB #AF99DB #D099DB
triadic
#AF99DB #DBAF99 #99DBAF
tetradic
#AF99DB #DB99A4 #C5DB99 #99DBD0
square
#AF99DB #DB99A4 #C5DB99 #99DBD0
split-complementary
#AF99DB #DBD099 #A4DB99
monochromatic
#6941B8 #8C6CCB #AF99DB #D2C6EB #EDE8F7
Accessibility & contrast
On white
2.50
#AF99DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#AF99DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF99DB
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF99DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF99DB | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AA4DE
Deuteranopia (green-blind)
#8EA3D9
Tritanopia (blue-blind)
#A7A3B1
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #af99db; /* rgb */ color: rgb(175, 153, 219); /* oklch */ color: oklch(72.6% 0.097 299.3);
Tailwind
colors: {
custom: {
50: '#c7b7e6',
500: '#af99db',
950: '#000000',
},
}SCSS
$custom: #af99db; $custom-light: #c7b7e6; $custom-dark: #000000;
JSON
{
"hex": "#af99db",
"rgb": {
"r": 175,
"g": 153,
"b": 219
},
"hsl": {
"h": 260,
"s": 47.826,
"l": 72.941
},
"oklch": {
"l": 0.7263,
"c": 0.09672,
"h": 299.3
},
"luminance": 0.37011
}Semantic roles & 50–950 ramp
primary
#AF99DB
secondary
#E8EEDD
accent
#BB2A8B
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084