#AF88DB#AF88DB
#AF88DB is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.5% C 0.125 H 305.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF88DB |
|---|---|
| RGB | rgb(175, 136, 219) |
| HSL | hsl(268, 54%, 70%) |
| HSV | hsv(268, 38%, 86%) |
| CMYK | cmyk(20.1%, 37.9%, 0%, 14.1%) |
| CIE-LAB | lab(63.21, 30.98, -36.93) |
| CIE-LCH | lch(63.21, 48.20, 309.99°) |
| OKLab | oklab(69.52% 0.0717 -0.1024) |
| OKLCH | oklch(69.52% 0.125 305) |
| XYZ | xyz(39.2669, 31.8369, 71.0806) |
| Luminance | 0.3184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.83
Wisteria
#A87DC2
ΔE00 5.09
Liliac
#C48EFD
ΔE00 5.84
Lavender
#B39DDB
ΔE00 6.46
Baby Purple
#CA9BF7
ΔE00 6.67
Lavender (survey)
#C79FEF
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF88DB #B4DB88
analogous
#888BDB #AF88DB #D988DB
triadic
#AF88DB #DBAF88 #88DBAF
tetradic
#AF88DB #DB888B #B4DB88 #88DBD9
square
#AF88DB #DB888B #B4DB88 #88DBD9
split-complementary
#AF88DB #DBD988 #8BDB88
monochromatic
#7136B3 #8F59CD #AF88DB #CFB7E9 #EEE6F7
Accessibility & contrast
On white
2.85
#AF88DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#AF88DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF88DB
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF88DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF88DB | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#7E99D9
Tritanopia (blue-blind)
#A895A7
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af88db; /* rgb */ color: rgb(175, 136, 219); /* oklch */ color: oklch(69.5% 0.125 305.0);
Tailwind
colors: {
custom: {
50: '#c8abe6',
500: '#af88db',
950: '#000000',
},
}SCSS
$custom: #af88db; $custom-light: #c8abe6; $custom-dark: #000000;
JSON
{
"hex": "#af88db",
"rgb": {
"r": 175,
"g": 136,
"b": 219
},
"hsl": {
"h": 268.193,
"s": 53.548,
"l": 69.608
},
"oklch": {
"l": 0.6952,
"c": 0.12499,
"h": 305
},
"luminance": 0.31837
}Semantic roles & 50–950 ramp
primary
#AF88DB
secondary
#E0EBD4
accent
#C12477
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84