#8949E2#8949E2
#8949E2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.220 H 298.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8949E2 |
|---|---|
| RGB | rgb(137, 73, 226) |
| HSL | hsl(265, 73%, 59%) |
| HSV | hsv(265, 68%, 89%) |
| CMYK | cmyk(39.4%, 67.7%, 0%, 11.4%) |
| CIE-LAB | lab(46.41, 57.31, -67.88) |
| CIE-LCH | lch(46.41, 88.84, 310.18°) |
| OKLab | oklab(56.32% 0.1036 -0.1937) |
| OKLCH | oklch(56.32% 0.22 298.1) |
| XYZ | xyz(26.4230, 15.5740, 73.5507) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.09
Blueviolet
#8A2BE2
ΔE00 5.10
Bluish Purple
#703BE7
ΔE00 5.28
Lightish Purple
#A552E6
ΔE00 5.98
Darkorchid
#9932CC
ΔE00 6.05
Electric Purple
#AA23FF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8949E2 #A2E249
analogous
#4955E2 #8949E2 #D549E2
triadic
#8949E2 #E28949 #49E289
tetradic
#8949E2 #E24955 #A2E249 #49E2D5
square
#8949E2 #E24955 #A2E249 #49E2D5
split-complementary
#8949E2 #E2D549 #55E249
monochromatic
#4E1898 #6921CD #8949E2 #AB7EEA #CDB3F3
Accessibility & contrast
On white
5.10
#8949E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#8949E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8949E2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8949E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8949E2 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#736E90
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8949e2; /* rgb */ color: rgb(137, 73, 226); /* oklch */ color: oklch(56.3% 0.220 298.1);
Tailwind
colors: {
custom: {
50: '#b280ec',
500: '#8949e2',
950: '#000000',
},
}SCSS
$custom: #8949e2; $custom-light: #b280ec; $custom-dark: #000000;
JSON
{
"hex": "#8949e2",
"rgb": {
"r": 137,
"g": 73,
"b": 226
},
"hsl": {
"h": 265.098,
"s": 72.512,
"l": 58.627
},
"oklch": {
"l": 0.56323,
"c": 0.21969,
"h": 298.1
},
"luminance": 0.15574
}Semantic roles & 50–950 ramp
primary
#8949E2
secondary
#C8E2A5
accent
#EF39A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84