#8A46D0#8A46D0
#8A46D0 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.204 H 302.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46D0 |
|---|---|
| RGB | rgb(138, 70, 208) |
| HSL | hsl(270, 59%, 55%) |
| HSV | hsv(270, 66%, 82%) |
| CMYK | cmyk(33.7%, 66.3%, 0%, 18.4%) |
| CIE-LAB | lab(44.71, 54.57, -60.34) |
| CIE-LCH | lch(44.71, 81.36, 312.12°) |
| OKLab | oklab(54.73% 0.1104 -0.1715) |
| OKLCH | oklch(54.73% 0.204 302.8) |
| XYZ | xyz(24.0539, 14.3376, 61.1625) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.09
Blueviolet
#8A2BE2
ΔE00 4.69
Purpley
#8756E4
ΔE00 5.14
Bluish Purple
#703BE7
ΔE00 5.93
Violet (survey)
#9A0EEA
ΔE00 6.28
Purply
#983FB2
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46D0 #8CD046
analogous
#4647D0 #8A46D0 #CF46D0
triadic
#8A46D0 #D08A46 #46D08A
tetradic
#8A46D0 #D04647 #8CD046 #46D0CF
square
#8A46D0 #D04647 #8CD046 #46D0CF
split-complementary
#8A46D0 #D0CF46 #47D046
monochromatic
#4D207C #6B2CAD #8A46D0 #A977DC #C8A8E9
Accessibility & contrast
On white
5.43
#8A46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#8A46D0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46D0
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46D0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46D0 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#0769CD
Tritanopia (blue-blind)
#7C6585
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a46d0; /* rgb */ color: rgb(138, 70, 208); /* oklch */ color: oklch(54.7% 0.204 302.8);
Tailwind
colors: {
custom: {
50: '#b17edf',
500: '#8a46d0',
950: '#000000',
},
}SCSS
$custom: #8a46d0; $custom-light: #b17edf; $custom-dark: #000000;
JSON
{
"hex": "#8a46d0",
"rgb": {
"r": 138,
"g": 70,
"b": 208
},
"hsl": {
"h": 269.565,
"s": 59.483,
"l": 54.51
},
"oklch": {
"l": 0.54728,
"c": 0.20397,
"h": 302.8
},
"luminance": 0.14338
}Semantic roles & 50–950 ramp
primary
#8A46D0
secondary
#B9D69C
accent
#E34595
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83