#8A46CC#8A46CC
#8A46CC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.200 H 303.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46CC |
|---|---|
| RGB | rgb(138, 70, 204) |
| HSL | hsl(270, 57%, 54%) |
| HSV | hsv(270, 66%, 80%) |
| CMYK | cmyk(32.4%, 65.7%, 0%, 20%) |
| CIE-LAB | lab(44.44, 53.61, -58.48) |
| CIE-LCH | lch(44.44, 79.34, 312.51°) |
| OKLab | oklab(54.44% 0.1108 -0.166) |
| OKLCH | oklch(54.44% 0.2 303.7) |
| XYZ | xyz(23.5680, 14.1433, 58.6033) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.91
Blueviolet
#8A2BE2
ΔE00 4.95
Purpley
#8756E4
ΔE00 5.58
Purply
#983FB2
ΔE00 5.77
Bluish Purple
#703BE7
ΔE00 6.30
Violet (survey)
#9A0EEA
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46CC #88CC46
analogous
#4746CC #8A46CC #CC46CB
triadic
#8A46CC #CC8A46 #46CC8A
tetradic
#8A46CC #CC4746 #88CC46 #46CBCC
square
#8A46CC #CC4746 #88CC46 #46CBCC
split-complementary
#8A46CC #CBCC46 #46CC47
monochromatic
#4C2177 #6B2EA7 #8A46CC #A876D9 #C7A6E6
Accessibility & contrast
On white
5.49
#8A46CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#8A46CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46CC
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46CC | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#1769C9
Tritanopia (blue-blind)
#7D6483
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a46cc; /* rgb */ color: rgb(138, 70, 204); /* oklch */ color: oklch(54.4% 0.200 303.7);
Tailwind
colors: {
custom: {
50: '#b17edc',
500: '#8a46cc',
950: '#000000',
},
}SCSS
$custom: #8a46cc; $custom-light: #b17edc; $custom-dark: #000000;
JSON
{
"hex": "#8a46cc",
"rgb": {
"r": 138,
"g": 70,
"b": 204
},
"hsl": {
"h": 270.448,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.54443,
"c": 0.19964,
"h": 303.7
},
"luminance": 0.14143
}Semantic roles & 50–950 ramp
primary
#8A46CC
secondary
#B6D49A
accent
#E04893
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83