#AF77BD#AF77BD
#AF77BD is a light, moderate purple. Relative luminance 0.260; OKLCH L 65.2% C 0.118 H 319.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AF77BD |
|---|---|
| RGB | rgb(175, 119, 189) |
| HSL | hsl(288, 35%, 60%) |
| HSV | hsv(288, 37%, 74%) |
| CMYK | cmyk(7.4%, 37%, 0%, 25.9%) |
| CIE-LAB | lab(58.02, 33.99, -28.09) |
| CIE-LCH | lch(58.02, 44.10, 320.43°) |
| OKLab | oklab(65.18% 0.09 -0.077) |
| OKLCH | oklch(65.18% 0.118 319.4) |
| XYZ | xyz(33.4601, 25.9827, 51.3868) |
| Luminance | 0.2598 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.81
Soft Purple
#A66FB5
ΔE00 2.92
Orchid (survey)
#C875C4
ΔE00 4.94
Dark Lilac
#9C6DA5
ΔE00 5.77
Deep Lilac
#966EBD
ΔE00 6.49
Heather
#A484AC
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF77BD #85BD77
analogous
#8C77BD #AF77BD #BD77A8
triadic
#AF77BD #BDAF77 #77BDAF
tetradic
#AF77BD #BD8C77 #85BD77 #77A8BD
square
#AF77BD #BD8C77 #85BD77 #77A8BD
split-complementary
#AF77BD #A8BD77 #77BD8C
monochromatic
#703D7D #9551A6 #AF77BD #C7A0D1 #DFC9E5
Accessibility & contrast
On white
3.39
#AF77BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#AF77BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF77BD
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF77BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF77BD | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E88C0
Deuteranopia (green-blind)
#7C8DBB
Tritanopia (blue-blind)
#B07F91
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #af77bd; /* rgb */ color: rgb(175, 119, 189); /* oklch */ color: oklch(65.2% 0.118 319.4);
Tailwind
colors: {
custom: {
50: '#c89fd1',
500: '#af77bd',
950: '#000000',
},
}SCSS
$custom: #af77bd; $custom-light: #c89fd1; $custom-dark: #000000;
JSON
{
"hex": "#af77bd",
"rgb": {
"r": 175,
"g": 119,
"b": 189
},
"hsl": {
"h": 288,
"s": 34.653,
"l": 60.392
},
"oklch": {
"l": 0.65176,
"c": 0.1184,
"h": 319.4
},
"luminance": 0.25982
}Semantic roles & 50–950 ramp
primary
#AF77BD
secondary
#C0D5BB
accent
#AD3850
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82