#8A46DC#8A46DC
#8A46DC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.217 H 300.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46DC |
|---|---|
| RGB | rgb(138, 70, 220) |
| HSL | hsl(267, 68%, 57%) |
| HSV | hsv(267, 68%, 86%) |
| CMYK | cmyk(37.3%, 68.2%, 0%, 13.7%) |
| CIE-LAB | lab(45.57, 57.47, -65.83) |
| CIE-LCH | lch(45.57, 87.39, 311.12°) |
| OKLab | oklab(55.61% 0.1089 -0.1876) |
| OKLCH | oklch(55.61% 0.217 300.1) |
| XYZ | xyz(25.5865, 14.9507, 69.2340) |
| Luminance | 0.1495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.06
Blueviolet
#8A2BE2
ΔE00 4.39
Darkorchid
#9932CC
ΔE00 4.99
Bluish Purple
#703BE7
ΔE00 5.18
Violet (survey)
#9A0EEA
ΔE00 5.95
Lightish Purple
#A552E6
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46DC #98DC46
analogous
#464DDC #8A46DC #D546DC
triadic
#8A46DC #DC8A46 #46DC8A
tetradic
#8A46DC #DC464D #98DC46 #46DCD5
square
#8A46DC #DC464D #98DC46 #46DCD5
split-complementary
#8A46DC #DCD546 #4DDC46
monochromatic
#4E1B8D #6B24C0 #8A46DC #AB79E6 #CBADEF
Accessibility & contrast
On white
5.26
#8A46DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#8A46DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46DC
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46DC | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#786A8C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a46dc; /* rgb */ color: rgb(138, 70, 220); /* oklch */ color: oklch(55.6% 0.217 300.1);
Tailwind
colors: {
custom: {
50: '#b27ee8',
500: '#8a46dc',
950: '#000000',
},
}SCSS
$custom: #8a46dc; $custom-light: #b27ee8; $custom-dark: #000000;
JSON
{
"hex": "#8a46dc",
"rgb": {
"r": 138,
"g": 70,
"b": 220
},
"hsl": {
"h": 267.2,
"s": 68.182,
"l": 56.863
},
"oklch": {
"l": 0.55608,
"c": 0.21694,
"h": 300.1
},
"luminance": 0.14951
}Semantic roles & 50–950 ramp
primary
#8A46DC
secondary
#C2DDA0
accent
#EB3D9C
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84