#8952E3#8952E3
#8952E3 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.210 H 296.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8952E3 |
|---|---|
| RGB | rgb(137, 82, 227) |
| HSL | hsl(263, 72%, 61%) |
| HSV | hsv(263, 64%, 89%) |
| CMYK | cmyk(39.6%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(48.13, 53.04, -65.65) |
| CIE-LCH | lch(48.13, 84.40, 308.94°) |
| OKLab | oklab(57.58% 0.0942 -0.1872) |
| OKLCH | oklch(57.58% 0.21 296.7) |
| XYZ | xyz(27.1954, 16.8985, 74.4871) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.05
Lightish Purple
#A552E6
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.91
Lighter Purple
#A55AF4
ΔE00 6.17
Slate Blue
#6A5ACD
ΔE00 6.52
Mediumslateblue
#7B68EE
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8952E3 #ACE352
analogous
#5263E3 #8952E3 #D252E3
triadic
#8952E3 #E38952 #52E389
tetradic
#8952E3 #E35263 #ACE352 #52E3D2
square
#8952E3 #E35263 #ACE352 #52E3D2
split-complementary
#8952E3 #E3D252 #63E352
monochromatic
#4D1AA1 #6623D5 #8952E3 #AD87EC #D1BBF4
Accessibility & contrast
On white
4.79
#8952E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#8952E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8952E3
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8952E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8952E3 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#737393
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8952e3; /* rgb */ color: rgb(137, 82, 227); /* oklch */ color: oklch(57.6% 0.210 296.7);
Tailwind
colors: {
custom: {
50: '#b186ed',
500: '#8952e3',
950: '#000000',
},
}SCSS
$custom: #8952e3; $custom-light: #b186ed; $custom-dark: #000000;
JSON
{
"hex": "#8952e3",
"rgb": {
"r": 137,
"g": 82,
"b": 227
},
"hsl": {
"h": 262.759,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.57583,
"c": 0.20954,
"h": 296.7
},
"luminance": 0.16899
}Semantic roles & 50–950 ramp
primary
#8952E3
secondary
#CFE4AD
accent
#D4118A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84