#AF89E1#AF89E1
#AF89E1 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.0% C 0.131 H 303.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AF89E1 |
|---|---|
| RGB | rgb(175, 137, 225) |
| HSL | hsl(266, 59%, 71%) |
| HSV | hsv(266, 39%, 88%) |
| CMYK | cmyk(22.2%, 39.1%, 0%, 11.8%) |
| CIE-LAB | lab(63.71, 31.80, -39.49) |
| CIE-LCH | lch(63.71, 50.70, 308.84°) |
| OKLab | oklab(69.98% 0.0715 -0.1098) |
| OKLCH | oklch(69.98% 0.131 303.1) |
| XYZ | xyz(40.2126, 32.4416, 75.3629) |
| Luminance | 0.3244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.62
Liliac
#C48EFD
ΔE00 5.06
Wisteria
#A87DC2
ΔE00 6.15
Baby Purple
#CA9BF7
ΔE00 6.27
Light Purple
#BF77F6
ΔE00 6.47
Lavender
#B39DDB
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF89E1 #BBE189
analogous
#898FE1 #AF89E1 #DB89E1
triadic
#AF89E1 #E1AF89 #89E1AF
tetradic
#AF89E1 #E1898F #BBE189 #89E1DB
square
#AF89E1 #E1898F #BBE189 #89E1DB
split-complementary
#AF89E1 #E1DB89 #8FE189
monochromatic
#6E31BF #8E58D5 #AF89E1 #D0BAED #EEE7F9
Accessibility & contrast
On white
2.80
#AF89E1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#AF89E1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF89E1
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF89E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF89E1 | 1.00 | 2.80 | 7.49 | 7.49 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7499E4
Deuteranopia (green-blind)
#7C9ADF
Tritanopia (blue-blind)
#A797AA
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af89e1; /* rgb */ color: rgb(175, 137, 225); /* oklch */ color: oklch(70.0% 0.131 303.1);
Tailwind
colors: {
custom: {
50: '#c8acea',
500: '#af89e1',
950: '#000000',
},
}SCSS
$custom: #af89e1; $custom-light: #c8acea; $custom-dark: #000000;
JSON
{
"hex": "#af89e1",
"rgb": {
"r": 175,
"g": 137,
"b": 225
},
"hsl": {
"h": 265.909,
"s": 59.459,
"l": 70.98
},
"oklch": {
"l": 0.69984,
"c": 0.13099,
"h": 303.1
},
"luminance": 0.32442
}Semantic roles & 50–950 ramp
primary
#AF89E1
secondary
#E4EFD7
accent
#C71E7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84