#8959D5#8959D5
#8959D5 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.184 H 298.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8959D5 |
|---|---|
| RGB | rgb(137, 89, 213) |
| HSL | hsl(263, 60%, 59%) |
| HSV | hsv(263, 58%, 84%) |
| CMYK | cmyk(35.7%, 58.2%, 0%, 16.5%) |
| CIE-LAB | lab(48.59, 45.72, -56.95) |
| CIE-LCH | lch(48.59, 73.03, 308.76°) |
| OKLab | oklab(57.62% 0.087 -0.1616) |
| OKLCH | oklch(57.62% 0.184 298.3) |
| XYZ | xyz(25.8962, 17.2669, 64.9064) |
| Luminance | 0.1727 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.34
Lightish Purple
#A552E6
ΔE00 5.37
Light Indigo
#6D5ACF
ΔE00 5.39
Deep Lavender
#8D5EB7
ΔE00 5.72
Slate Blue
#6A5ACD
ΔE00 5.99
Amethyst
#9B5FC0
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8959D5 #A5D559
analogous
#5967D5 #8959D5 #C759D5
triadic
#8959D5 #D58959 #59D589
tetradic
#8959D5 #D55967 #A5D559 #59D5C7
square
#8959D5 #D55967 #A5D559 #59D5C7
split-complementary
#8959D5 #D5C759 #67D559
monochromatic
#4E248F #6831C0 #8959D5 #AC8AE1 #CEBBEE
Accessibility & contrast
On white
4.72
#8959D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#8959D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8959D5
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8959D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8959D5 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1474D9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#78738E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8959d5; /* rgb */ color: rgb(137, 89, 213); /* oklch */ color: oklch(57.6% 0.184 298.3);
Tailwind
colors: {
custom: {
50: '#b08ae3',
500: '#8959d5',
950: '#000000',
},
}SCSS
$custom: #8959d5; $custom-light: #b08ae3; $custom-dark: #000000;
JSON
{
"hex": "#8959d5",
"rgb": {
"r": 137,
"g": 89,
"b": 213
},
"hsl": {
"h": 263.226,
"s": 59.615,
"l": 59.216
},
"oklch": {
"l": 0.57623,
"c": 0.18354,
"h": 298.3
},
"luminance": 0.17267
}Semantic roles & 50–950 ramp
primary
#8959D5
secondary
#CADDAD
accent
#E345A6
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84