#8046C1#8046C1
#8046C1 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.185 H 302.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8046C1 |
|---|---|
| RGB | rgb(128, 70, 193) |
| HSL | hsl(268, 50%, 52%) |
| HSV | hsv(268, 64%, 76%) |
| CMYK | cmyk(33.7%, 63.7%, 0%, 24.3%) |
| CIE-LAB | lab(42.49, 48.79, -55.31) |
| CIE-LCH | lch(42.49, 73.75, 311.41°) |
| OKLab | oklab(52.54% 0.0984 -0.157) |
| OKLCH | oklch(52.54% 0.185 302.1) |
| XYZ | xyz(20.7156, 12.8197, 51.8248) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.04
Darkorchid
#9932CC
ΔE00 5.08
Bluey Purple
#6241C7
ΔE00 5.76
Blueviolet
#8A2BE2
ΔE00 5.76
Purply
#983FB2
ΔE00 6.01
Bluish Purple
#703BE7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8046C1 #87C146
analogous
#464AC1 #8046C1 #BE46C1
triadic
#8046C1 #C18046 #46C180
tetradic
#8046C1 #C1464A #87C146 #46C1BE
square
#8046C1 #C1464A #87C146 #46C1BE
split-complementary
#8046C1 #C1BE46 #4AC146
monochromatic
#442369 #623397 #8046C1 #9F74D0 #BFA2E0
Accessibility & contrast
On white
5.89
#8046C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#8046C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8046C1
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8046C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8046C1 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#1A64BE
Tritanopia (blue-blind)
#73617D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8046c1; /* rgb */ color: rgb(128, 70, 193); /* oklch */ color: oklch(52.5% 0.185 302.1);
Tailwind
colors: {
custom: {
50: '#a97dd4',
500: '#8046c1',
950: '#000000',
},
}SCSS
$custom: #8046c1; $custom-light: #a97dd4; $custom-dark: #000000;
JSON
{
"hex": "#8046c1",
"rgb": {
"r": 128,
"g": 70,
"b": 193
},
"hsl": {
"h": 268.293,
"s": 49.798,
"l": 51.569
},
"oklch": {
"l": 0.52536,
"c": 0.18531,
"h": 302.1
},
"luminance": 0.1282
}Semantic roles & 50–950 ramp
primary
#8046C1
secondary
#B3CC96
accent
#D94E98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83