#8952E2#8952E2
#8952E2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.208 H 296.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8952E2 |
|---|---|
| RGB | rgb(137, 82, 226) |
| HSL | hsl(263, 71%, 60%) |
| HSV | hsv(263, 64%, 89%) |
| CMYK | cmyk(39.4%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(48.06, 52.79, -65.20) |
| CIE-LCH | lch(48.06, 83.89, 308.99°) |
| OKLab | oklab(57.51% 0.0943 -0.1859) |
| OKLCH | oklch(57.51% 0.208 296.9) |
| XYZ | xyz(27.0577, 16.8435, 73.7623) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.10
Lightish Purple
#A552E6
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.87
Lighter Purple
#A55AF4
ΔE00 6.22
Slate Blue
#6A5ACD
ΔE00 6.48
Bluish Purple
#703BE7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8952E2 #ABE252
analogous
#5263E2 #8952E2 #D152E2
triadic
#8952E2 #E28952 #52E289
tetradic
#8952E2 #E25263 #ABE252 #52E2D1
square
#8952E2 #E25263 #ABE252 #52E2D1
split-complementary
#8952E2 #E2D152 #63E252
monochromatic
#4D1B9F #6723D3 #8952E2 #AD86EB #D1BBF4
Accessibility & contrast
On white
4.81
#8952E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#8952E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8952E2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8952E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8952E2 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#737393
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8952e2; /* rgb */ color: rgb(137, 82, 226); /* oklch */ color: oklch(57.5% 0.208 296.9);
Tailwind
colors: {
custom: {
50: '#b186ec',
500: '#8952e2',
950: '#000000',
},
}SCSS
$custom: #8952e2; $custom-light: #b186ec; $custom-dark: #000000;
JSON
{
"hex": "#8952e2",
"rgb": {
"r": 137,
"g": 82,
"b": 226
},
"hsl": {
"h": 262.917,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.57511,
"c": 0.2084,
"h": 296.9
},
"luminance": 0.16844
}Semantic roles & 50–950 ramp
primary
#8952E2
secondary
#CEE3AC
accent
#D3128A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84