#8950E2#8950E2
#8950E2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.211 H 297.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8950E2 |
|---|---|
| RGB | rgb(137, 80, 226) |
| HSL | hsl(263, 72%, 60%) |
| HSV | hsv(263, 65%, 89%) |
| CMYK | cmyk(39.4%, 64.6%, 0%, 11.4%) |
| CIE-LAB | lab(47.68, 53.82, -65.81) |
| CIE-LCH | lch(47.68, 85.02, 309.27°) |
| OKLab | oklab(57.24% 0.0964 -0.1877) |
| OKLCH | oklch(57.24% 0.211 297.2) |
| XYZ | xyz(26.9091, 16.5462, 73.7128) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.55
Lightish Purple
#A552E6
ΔE00 5.29
Light Indigo
#6D5ACF
ΔE00 6.01
Bluish Purple
#703BE7
ΔE00 6.44
Lighter Purple
#A55AF4
ΔE00 6.50
Slate Blue
#6A5ACD
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8950E2 #A9E250
analogous
#5060E2 #8950E2 #D250E2
triadic
#8950E2 #E28950 #50E289
tetradic
#8950E2 #E25060 #A9E250 #50E2D2
square
#8950E2 #E25060 #A9E250 #50E2D2
split-complementary
#8950E2 #E2D250 #60E250
monochromatic
#4D1A9E #6723D2 #8950E2 #AC84EB #D0B9F3
Accessibility & contrast
On white
4.87
#8950E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#8950E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8950E2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8950E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8950E2 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#737292
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8950e2; /* rgb */ color: rgb(137, 80, 226); /* oklch */ color: oklch(57.2% 0.211 297.2);
Tailwind
colors: {
custom: {
50: '#b184ec',
500: '#8950e2',
950: '#000000',
},
}SCSS
$custom: #8950e2; $custom-light: #b184ec; $custom-dark: #000000;
JSON
{
"hex": "#8950e2",
"rgb": {
"r": 137,
"g": 80,
"b": 226
},
"hsl": {
"h": 263.425,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.57237,
"c": 0.21097,
"h": 297.2
},
"luminance": 0.16547
}Semantic roles & 50–950 ramp
primary
#8950E2
secondary
#CDE3AB
accent
#EE39A8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84