#8246C2#8246C2
#8246C2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.187 H 302.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8246C2 |
|---|---|
| RGB | rgb(130, 70, 194) |
| HSL | hsl(269, 50%, 52%) |
| HSV | hsv(269, 64%, 76%) |
| CMYK | cmyk(33%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(42.80, 49.47, -55.39) |
| CIE-LCH | lch(42.80, 74.27, 311.77°) |
| OKLab | oklab(52.83% 0.101 -0.1572) |
| OKLCH | oklch(52.83% 0.187 302.7) |
| XYZ | xyz(21.1314, 13.0212, 52.4285) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.78
Royal Purple
#7851A9
ΔE00 5.19
Blueviolet
#8A2BE2
ΔE00 5.64
Purply
#983FB2
ΔE00 5.77
Bluey Purple
#6241C7
ΔE00 6.08
Bluish Purple
#703BE7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8246C2 #86C246
analogous
#4648C2 #8246C2 #C046C2
triadic
#8246C2 #C28246 #46C282
tetradic
#8246C2 #C24648 #86C246 #46C2C0
square
#8246C2 #C24648 #86C246 #46C2C0
split-complementary
#8246C2 #C2C046 #48C246
monochromatic
#46236A #643299 #8246C2 #A174D1 #C0A2E0
Accessibility & contrast
On white
5.83
#8246C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8246C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8246C2
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8246C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8246C2 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#1C65BF
Tritanopia (blue-blind)
#75617E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8246c2; /* rgb */ color: rgb(130, 70, 194); /* oklch */ color: oklch(52.8% 0.187 302.7);
Tailwind
colors: {
custom: {
50: '#ab7dd5',
500: '#8246c2',
950: '#000000',
},
}SCSS
$custom: #8246c2; $custom-light: #ab7dd5; $custom-dark: #000000;
JSON
{
"hex": "#8246c2",
"rgb": {
"r": 130,
"g": 70,
"b": 194
},
"hsl": {
"h": 269.032,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.5283,
"c": 0.18684,
"h": 302.7
},
"luminance": 0.13021
}Semantic roles & 50–950 ramp
primary
#8246C2
secondary
#B3CD97
accent
#DA4E96
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100A14
muted
#7F7C83