#8950C8#8950C8
#8950C8 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.181 H 302.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8950C8 |
|---|---|
| RGB | rgb(137, 80, 200) |
| HSL | hsl(269, 52%, 55%) |
| HSV | hsv(269, 60%, 78%) |
| CMYK | cmyk(31.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(45.94, 47.31, -53.76) |
| CIE-LCH | lch(45.94, 71.61, 311.35°) |
| OKLab | oklab(55.42% 0.0981 -0.1522) |
| OKLCH | oklch(55.42% 0.181 302.8) |
| XYZ | xyz(23.6081, 15.2258, 56.3275) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.72
Deep Lavender
#8D5EB7
ΔE00 5.25
Royal Purple
#7851A9
ΔE00 5.64
Darkorchid
#9932CC
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.31
Purply
#983FB2
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8950C8 #8FC850
analogous
#5053C8 #8950C8 #C550C8
triadic
#8950C8 #C88950 #50C889
tetradic
#8950C8 #C85053 #8FC850 #50C8C5
square
#8950C8 #C85053 #8FC850 #50C8C5
split-complementary
#8950C8 #C8C550 #53C850
monochromatic
#4D2678 #6B34A6 #8950C8 #A87FD7 #C8ADE5
Accessibility & contrast
On white
5.19
#8950C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8950C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8950C8
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8950C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8950C8 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E6CCC
Deuteranopia (green-blind)
#306CC5
Tritanopia (blue-blind)
#7D6984
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8950c8; /* rgb */ color: rgb(137, 80, 200); /* oklch */ color: oklch(55.4% 0.181 302.8);
Tailwind
colors: {
custom: {
50: '#af84d9',
500: '#8950c8',
950: '#000000',
},
}SCSS
$custom: #8950c8; $custom-light: #af84d9; $custom-dark: #000000;
JSON
{
"hex": "#8950c8",
"rgb": {
"r": 137,
"g": 80,
"b": 200
},
"hsl": {
"h": 268.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.55422,
"c": 0.1811,
"h": 302.8
},
"luminance": 0.15226
}Semantic roles & 50–950 ramp
primary
#8950C8
secondary
#BBD3A1
accent
#DC4C97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83