#8A49E2#8A49E2
#8A49E2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.220 H 298.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49E2 |
|---|---|
| RGB | rgb(138, 73, 226) |
| HSL | hsl(265, 73%, 59%) |
| HSV | hsv(265, 68%, 89%) |
| CMYK | cmyk(38.9%, 67.7%, 0%, 11.4%) |
| CIE-LAB | lab(46.52, 57.50, -67.69) |
| CIE-LCH | lch(46.52, 88.82, 310.35°) |
| OKLab | oklab(56.43% 0.105 -0.1931) |
| OKLCH | oklch(56.43% 0.22 298.5) |
| XYZ | xyz(26.5878, 15.6590, 73.5585) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.08
Blueviolet
#8A2BE2
ΔE00 5.14
Bluish Purple
#703BE7
ΔE00 5.43
Lightish Purple
#A552E6
ΔE00 5.81
Darkorchid
#9932CC
ΔE00 5.98
Electric Purple
#AA23FF
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49E2 #A1E249
analogous
#4954E2 #8A49E2 #D649E2
triadic
#8A49E2 #E28A49 #49E28A
tetradic
#8A49E2 #E24954 #A1E249 #49E2D6
square
#8A49E2 #E24954 #A1E249 #49E2D6
split-complementary
#8A49E2 #E2D649 #54E249
monochromatic
#4F1898 #6A21CD #8A49E2 #AC7EEA #CEB3F3
Accessibility & contrast
On white
5.08
#8A49E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#8A49E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49E2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49E2 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#756D90
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a49e2; /* rgb */ color: rgb(138, 73, 226); /* oklch */ color: oklch(56.4% 0.220 298.5);
Tailwind
colors: {
custom: {
50: '#b280ec',
500: '#8a49e2',
950: '#000000',
},
}SCSS
$custom: #8a49e2; $custom-light: #b280ec; $custom-dark: #000000;
JSON
{
"hex": "#8a49e2",
"rgb": {
"r": 138,
"g": 73,
"b": 226
},
"hsl": {
"h": 265.49,
"s": 72.512,
"l": 58.627
},
"oklch": {
"l": 0.5643,
"c": 0.21981,
"h": 298.5
},
"luminance": 0.15659
}Semantic roles & 50–950 ramp
primary
#8A49E2
secondary
#C8E2A5
accent
#EF39A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84