#8959CF#8959CF
#8959CF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.176 H 299.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8959CF |
|---|---|
| RGB | rgb(137, 89, 207) |
| HSL | hsl(264, 55%, 58%) |
| HSV | hsv(264, 57%, 81%) |
| CMYK | cmyk(33.8%, 57%, 0%, 18.8%) |
| CIE-LAB | lab(48.22, 44.18, -54.12) |
| CIE-LCH | lch(48.22, 69.87, 309.23°) |
| OKLab | oklab(57.23% 0.087 -0.1533) |
| OKLCH | oklch(57.23% 0.176 299.6) |
| XYZ | xyz(25.1487, 16.9679, 60.9696) |
| Luminance | 0.1697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.25
Deep Lavender
#8D5EB7
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 5.53
Amethyst
#9B5FC0
ΔE00 5.60
Lightish Purple
#A552E6
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8959CF #9FCF59
analogous
#5964CF #8959CF #C459CF
triadic
#8959CF #CF8959 #59CF89
tetradic
#8959CF #CF5964 #9FCF59 #59CFC4
square
#8959CF #CF5964 #9FCF59 #59CFC4
split-complementary
#8959CF #CFC459 #64CF59
monochromatic
#4E2787 #6935B6 #8959CF #AB88DD #CCB8EA
Accessibility & contrast
On white
4.78
#8959CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#8959CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8959CF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8959CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8959CF | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#3572CC
Tritanopia (blue-blind)
#7A718B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8959cf; /* rgb */ color: rgb(137, 89, 207); /* oklch */ color: oklch(57.2% 0.176 299.6);
Tailwind
colors: {
custom: {
50: '#af8ade',
500: '#8959cf',
950: '#000000',
},
}SCSS
$custom: #8959cf; $custom-light: #af8ade; $custom-dark: #000000;
JSON
{
"hex": "#8959cf",
"rgb": {
"r": 137,
"g": 89,
"b": 207
},
"hsl": {
"h": 264.407,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.57228,
"c": 0.17628,
"h": 299.6
},
"luminance": 0.16968
}Semantic roles & 50–950 ramp
primary
#8959CF
secondary
#C6D9AA
accent
#DE49A2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83