#AF89CE#AF89CE
#AF89CE is a light, moderate violet. Relative luminance 0.315; OKLCH L 69.1% C 0.107 H 309.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF89CE |
|---|---|
| RGB | rgb(175, 137, 206) |
| HSL | hsl(273, 41%, 67%) |
| HSV | hsv(273, 33%, 81%) |
| CMYK | cmyk(15%, 33.5%, 0%, 19.2%) |
| CIE-LAB | lab(62.90, 27.51, -30.16) |
| CIE-LCH | lch(62.90, 40.82, 312.37°) |
| OKLab | oklab(69.1% 0.0672 -0.083) |
| OKLCH | oklch(69.1% 0.107 309) |
| XYZ | xyz(37.7634, 31.4619, 62.4639) |
| Luminance | 0.3146 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.26
Wisteria
#A87DC2
ΔE00 3.70
Lavender
#B39DDB
ΔE00 5.90
Lavender (survey)
#C79FEF
ΔE00 7.28
Heather
#A484AC
ΔE00 7.58
Baby Purple
#CA9BF7
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF89CE #A8CE89
analogous
#8D89CE #AF89CE #CE89CB
triadic
#AF89CE #CEAF89 #89CEAF
tetradic
#AF89CE #CE8D89 #A8CE89 #89CBCE
square
#AF89CE #CE8D89 #A8CE89 #89CBCE
split-complementary
#AF89CE #CBCE89 #89CE8D
monochromatic
#73419C #925EBC #AF89CE #CCB4E0 #EADFF2
Accessibility & contrast
On white
2.88
#AF89CE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#AF89CE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF89CE
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF89CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF89CE | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C96D1
Deuteranopia (green-blind)
#8499CC
Tritanopia (blue-blind)
#AB93A2
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af89ce; /* rgb */ color: rgb(175, 137, 206); /* oklch */ color: oklch(69.1% 0.107 309.0);
Tailwind
colors: {
custom: {
50: '#c8acdd',
500: '#af89ce',
950: '#000000',
},
}SCSS
$custom: #af89ce; $custom-light: #c8acdd; $custom-dark: #000000;
JSON
{
"hex": "#af89ce",
"rgb": {
"r": 175,
"g": 137,
"b": 206
},
"hsl": {
"h": 273.043,
"s": 41.317,
"l": 67.255
},
"oklch": {
"l": 0.69102,
"c": 0.10679,
"h": 309
},
"luminance": 0.31462
}Semantic roles & 50–950 ramp
primary
#AF89CE
secondary
#D8E4CF
accent
#B4316C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83