#8946E1#8946E1
#8946E1 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.222 H 298.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8946E1 |
|---|---|
| RGB | rgb(137, 70, 225) |
| HSL | hsl(266, 72%, 58%) |
| HSV | hsv(266, 69%, 88%) |
| CMYK | cmyk(39.1%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(45.82, 58.51, -68.28) |
| CIE-LCH | lch(45.82, 89.92, 310.59°) |
| OKLab | oklab(55.88% 0.1068 -0.1949) |
| OKLCH | oklch(55.88% 0.222 298.7) |
| XYZ | xyz(26.0939, 15.1346, 72.7661) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.76
Blueviolet
#8A2BE2
ΔE00 4.44
Bluish Purple
#703BE7
ΔE00 4.89
Darkorchid
#9932CC
ΔE00 5.54
Violet (survey)
#9A0EEA
ΔE00 6.00
Electric Purple
#AA23FF
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8946E1 #9EE146
analogous
#4651E1 #8946E1 #D646E1
triadic
#8946E1 #E18946 #46E189
tetradic
#8946E1 #E14651 #9EE146 #46E1D6
square
#8946E1 #E14651 #9EE146 #46E1D6
split-complementary
#8946E1 #E1D646 #51E146
monochromatic
#4E1895 #6921C9 #8946E1 #AB7BEA #CCAFF2
Accessibility & contrast
On white
5.21
#8946E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#8946E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8946E1
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8946E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8946E1 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#746C8E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8946e1; /* rgb */ color: rgb(137, 70, 225); /* oklch */ color: oklch(55.9% 0.222 298.7);
Tailwind
colors: {
custom: {
50: '#b27eeb',
500: '#8946e1',
950: '#000000',
},
}SCSS
$custom: #8946e1; $custom-light: #b27eeb; $custom-dark: #000000;
JSON
{
"hex": "#8946e1",
"rgb": {
"r": 137,
"g": 70,
"b": 225
},
"hsl": {
"h": 265.935,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.55877,
"c": 0.22218,
"h": 298.7
},
"luminance": 0.15135
}Semantic roles & 50–950 ramp
primary
#8946E1
secondary
#C6E0A2
accent
#EF39A0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84