#AF89DB#AF89DB
#AF89DB is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.7% C 0.123 H 304.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF89DB |
|---|---|
| RGB | rgb(175, 137, 219) |
| HSL | hsl(268, 53%, 70%) |
| HSV | hsv(268, 37%, 86%) |
| CMYK | cmyk(20.1%, 37.4%, 0%, 14.1%) |
| CIE-LAB | lab(63.44, 30.42, -36.57) |
| CIE-LCH | lch(63.44, 47.56, 309.75°) |
| OKLab | oklab(69.7% 0.0702 -0.1014) |
| OKLCH | oklch(69.7% 0.123 304.7) |
| XYZ | xyz(39.4084, 32.1199, 71.1278) |
| Luminance | 0.3212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.64
Wisteria
#A87DC2
ΔE00 5.21
Liliac
#C48EFD
ΔE00 5.86
Lavender
#B39DDB
ΔE00 6.17
Baby Purple
#CA9BF7
ΔE00 6.53
Lavender (survey)
#C79FEF
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF89DB #B5DB89
analogous
#898CDB #AF89DB #D889DB
triadic
#AF89DB #DBAF89 #89DBAF
tetradic
#AF89DB #DB898C #B5DB89 #89DBD8
square
#AF89DB #DB898C #B5DB89 #89DBD8
split-complementary
#AF89DB #DBD889 #8CDB89
monochromatic
#7037B3 #8F5ACD #AF89DB #CFB8E9 #EFE7F8
Accessibility & contrast
On white
2.83
#AF89DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#AF89DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF89DB
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF89DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF89DB | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7798DE
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#A896A8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af89db; /* rgb */ color: rgb(175, 137, 219); /* oklch */ color: oklch(69.7% 0.123 304.7);
Tailwind
colors: {
custom: {
50: '#c8ace6',
500: '#af89db',
950: '#000000',
},
}SCSS
$custom: #af89db; $custom-light: #c8ace6; $custom-dark: #000000;
JSON
{
"hex": "#af89db",
"rgb": {
"r": 175,
"g": 137,
"b": 219
},
"hsl": {
"h": 267.805,
"s": 53.247,
"l": 69.804
},
"oklch": {
"l": 0.69697,
"c": 0.12331,
"h": 304.7
},
"luminance": 0.3212
}Semantic roles & 50–950 ramp
primary
#AF89DB
secondary
#E1EBD4
accent
#C12578
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84