#8A49E3#8A49E3
#8A49E3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.221 H 298.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49E3 |
|---|---|
| RGB | rgb(138, 73, 227) |
| HSL | hsl(265, 73%, 59%) |
| HSV | hsv(265, 68%, 89%) |
| CMYK | cmyk(39.2%, 67.8%, 0%, 11%) |
| CIE-LAB | lab(46.60, 57.75, -68.14) |
| CIE-LCH | lch(46.60, 89.32, 310.28°) |
| OKLab | oklab(56.51% 0.1048 -0.1944) |
| OKLCH | oklch(56.51% 0.221 298.3) |
| XYZ | xyz(26.7254, 15.7140, 74.2832) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.04
Blueviolet
#8A2BE2
ΔE00 5.17
Bluish Purple
#703BE7
ΔE00 5.43
Lightish Purple
#A552E6
ΔE00 5.79
Darkorchid
#9932CC
ΔE00 6.08
Electric Purple
#AA23FF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49E3 #A2E349
analogous
#4955E3 #8A49E3 #D749E3
triadic
#8A49E3 #E38A49 #49E38A
tetradic
#8A49E3 #E34955 #A2E349 #49E3D7
square
#8A49E3 #E34955 #A2E349 #49E3D7
split-complementary
#8A49E3 #E3D749 #55E349
monochromatic
#4F189A #6A20CF #8A49E3 #AC7EEB #CEB3F3
Accessibility & contrast
On white
5.07
#8A49E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8A49E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49E3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49E3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#756E90
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a49e3; /* rgb */ color: rgb(138, 73, 227); /* oklch */ color: oklch(56.5% 0.221 298.3);
Tailwind
colors: {
custom: {
50: '#b380ed',
500: '#8a49e3',
950: '#000000',
},
}SCSS
$custom: #8a49e3; $custom-light: #b380ed; $custom-dark: #000000;
JSON
{
"hex": "#8a49e3",
"rgb": {
"r": 138,
"g": 73,
"b": 227
},
"hsl": {
"h": 265.325,
"s": 73.333,
"l": 58.824
},
"oklch": {
"l": 0.56505,
"c": 0.2209,
"h": 298.3
},
"luminance": 0.15714
}Semantic roles & 50–950 ramp
primary
#8A49E3
secondary
#C9E2A6
accent
#F038A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84