#8947E2#8947E2
#8947E2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.222 H 298.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8947E2 |
|---|---|
| RGB | rgb(137, 71, 226) |
| HSL | hsl(266, 73%, 58%) |
| HSV | hsv(266, 69%, 89%) |
| CMYK | cmyk(39.4%, 68.6%, 0%, 11.4%) |
| CIE-LAB | lab(46.06, 58.28, -68.44) |
| CIE-LCH | lch(46.06, 89.89, 310.41°) |
| OKLab | oklab(56.08% 0.1056 -0.1954) |
| OKLCH | oklch(56.08% 0.222 298.4) |
| XYZ | xyz(26.2937, 15.3154, 73.5076) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.51
Blueviolet
#8A2BE2
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 5.00
Darkorchid
#9932CC
ΔE00 5.77
Electric Purple
#AA23FF
ΔE00 6.15
Violet (survey)
#9A0EEA
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8947E2 #A0E247
analogous
#4752E2 #8947E2 #D647E2
triadic
#8947E2 #E28947 #47E289
tetradic
#8947E2 #E24752 #A0E247 #47E2D6
square
#8947E2 #E24752 #A0E247 #47E2D6
split-complementary
#8947E2 #E2D647 #52E247
monochromatic
#4E1897 #6920CC #8947E2 #AB7CEA #CDB1F3
Accessibility & contrast
On white
5.17
#8947E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#8947E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8947E2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8947E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8947E2 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#746C8F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8947e2; /* rgb */ color: rgb(137, 71, 226); /* oklch */ color: oklch(56.1% 0.222 298.4);
Tailwind
colors: {
custom: {
50: '#b27fec',
500: '#8947e2',
950: '#000000',
},
}SCSS
$custom: #8947e2; $custom-light: #b27fec; $custom-dark: #000000;
JSON
{
"hex": "#8947e2",
"rgb": {
"r": 137,
"g": 71,
"b": 226
},
"hsl": {
"h": 265.548,
"s": 72.77,
"l": 58.235
},
"oklch": {
"l": 0.56075,
"c": 0.22208,
"h": 298.4
},
"luminance": 0.15316
}Semantic roles & 50–950 ramp
primary
#8947E2
secondary
#C7E1A4
accent
#EF38A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84