#8B49E2#8B49E2
#8B49E2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.220 H 298.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8B49E2 |
|---|---|
| RGB | rgb(139, 73, 226) |
| HSL | hsl(266, 73%, 59%) |
| HSV | hsv(266, 68%, 89%) |
| CMYK | cmyk(38.5%, 67.7%, 0%, 11.4%) |
| CIE-LAB | lab(46.64, 57.69, -67.50) |
| CIE-LCH | lch(46.64, 88.80, 310.52°) |
| OKLab | oklab(56.54% 0.1063 -0.1925) |
| OKLCH | oklch(56.54% 0.22 298.9) |
| XYZ | xyz(26.7540, 15.7447, 73.5663) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.08
Blueviolet
#8A2BE2
ΔE00 5.18
Bluish Purple
#703BE7
ΔE00 5.58
Lightish Purple
#A552E6
ΔE00 5.65
Darkorchid
#9932CC
ΔE00 5.92
Electric Purple
#AA23FF
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B49E2 #A0E249
analogous
#4953E2 #8B49E2 #D749E2
triadic
#8B49E2 #E28B49 #49E28B
tetradic
#8B49E2 #E24953 #A0E249 #49E2D7
square
#8B49E2 #E24953 #A0E249 #49E2D7
split-complementary
#8B49E2 #E2D749 #53E249
monochromatic
#501898 #6B21CD #8B49E2 #AD7EEA #CEB3F3
Accessibility & contrast
On white
5.06
#8B49E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#8B49E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B49E2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B49E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B49E2 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#776D90
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8b49e2; /* rgb */ color: rgb(139, 73, 226); /* oklch */ color: oklch(56.5% 0.220 298.9);
Tailwind
colors: {
custom: {
50: '#b380ec',
500: '#8b49e2',
950: '#000000',
},
}SCSS
$custom: #8b49e2; $custom-light: #b380ec; $custom-dark: #000000;
JSON
{
"hex": "#8b49e2",
"rgb": {
"r": 139,
"g": 73,
"b": 226
},
"hsl": {
"h": 265.882,
"s": 72.512,
"l": 58.627
},
"oklch": {
"l": 0.56537,
"c": 0.21995,
"h": 298.9
},
"luminance": 0.15745
}Semantic roles & 50–950 ramp
primary
#8B49E2
secondary
#C8E2A5
accent
#EF39A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84