#9877CF#9877CF
#9877CF is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.7% C 0.132 H 300.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9877CF |
|---|---|
| RGB | rgb(152, 119, 207) |
| HSL | hsl(263, 48%, 64%) |
| HSV | hsv(263, 43%, 81%) |
| CMYK | cmyk(26.6%, 42.5%, 0%, 18.8%) |
| CIE-LAB | lab(56.46, 31.12, -40.93) |
| CIE-LCH | lch(56.46, 51.42, 307.25°) |
| OKLab | oklab(63.72% 0.066 -0.1144) |
| OKLCH | oklch(63.72% 0.132 300) |
| XYZ | xyz(30.8056, 24.3739, 62.1011) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.49
Deep Lilac
#966EBD
ΔE00 4.12
Wisteria
#A87DC2
ΔE00 5.83
Soft Purple
#A66FB5
ΔE00 7.46
Light Urple
#B36FF6
ΔE00 7.50
Amethyst
#9B5FC0
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9877CF #AECF77
analogous
#7782CF #9877CF #C477CF
triadic
#9877CF #CF9877 #77CF98
tetradic
#9877CF #CF7782 #AECF77 #77CFC4
square
#9877CF #CF7782 #AECF77 #77CFC4
split-complementary
#9877CF #CFC477 #82CF77
monochromatic
#5A3596 #764ABF #9877CF #BAA4DF #DDD1EF
Accessibility & contrast
On white
3.57
#9877CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#9877CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9877CF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9877CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9877CF | 1.00 | 3.57 | 5.87 | 5.87 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#6687CD
Tritanopia (blue-blind)
#8E8699
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9877cf; /* rgb */ color: rgb(152, 119, 207); /* oklch */ color: oklch(63.7% 0.132 300.0);
Tailwind
colors: {
custom: {
50: '#b89ede',
500: '#9877cf',
950: '#000000',
},
}SCSS
$custom: #9877cf; $custom-light: #b89ede; $custom-dark: #000000;
JSON
{
"hex": "#9877cf",
"rgb": {
"r": 152,
"g": 119,
"b": 207
},
"hsl": {
"h": 262.5,
"s": 47.826,
"l": 63.922
},
"oklch": {
"l": 0.63719,
"c": 0.13205,
"h": 300
},
"luminance": 0.24374
}Semantic roles & 50–950 ramp
primary
#9877CF
secondary
#D5E0C1
accent
#BB2A85
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83