#8246C5#8246C5
#8246C5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.190 H 302.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8246C5 |
|---|---|
| RGB | rgb(130, 70, 197) |
| HSL | hsl(268, 52%, 52%) |
| HSV | hsv(268, 64%, 77%) |
| CMYK | cmyk(34%, 64.5%, 0%, 22.7%) |
| CIE-LAB | lab(43.00, 50.21, -56.80) |
| CIE-LCH | lch(43.00, 75.81, 311.48°) |
| OKLab | oklab(53.04% 0.1008 -0.1614) |
| OKLCH | oklch(53.04% 0.19 302) |
| XYZ | xyz(21.4717, 13.1573, 54.2209) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.76
Blueviolet
#8A2BE2
ΔE00 5.34
Royal Purple
#7851A9
ΔE00 5.53
Bluey Purple
#6241C7
ΔE00 5.94
Bluish Purple
#703BE7
ΔE00 6.02
Purply
#983FB2
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8246C5 #89C546
analogous
#464AC5 #8246C5 #C146C5
triadic
#8246C5 #C58246 #46C582
tetradic
#8246C5 #C5464A #89C546 #46C5C1
square
#8246C5 #C5464A #89C546 #46C5C1
split-complementary
#8246C5 #C5C146 #4AC546
monochromatic
#46236E #64319D #8246C5 #A175D4 #C1A3E2
Accessibility & contrast
On white
5.78
#8246C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#8246C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8246C5
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8246C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8246C5 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#1565C2
Tritanopia (blue-blind)
#74627F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8246c5; /* rgb */ color: rgb(130, 70, 197); /* oklch */ color: oklch(53.0% 0.190 302.0);
Tailwind
colors: {
custom: {
50: '#ab7dd7',
500: '#8246c5',
950: '#000000',
},
}SCSS
$custom: #8246c5; $custom-light: #ab7dd7; $custom-dark: #000000;
JSON
{
"hex": "#8246c5",
"rgb": {
"r": 130,
"g": 70,
"b": 197
},
"hsl": {
"h": 268.346,
"s": 52.263,
"l": 52.353
},
"oklch": {
"l": 0.53043,
"c": 0.19023,
"h": 302
},
"luminance": 0.13157
}Semantic roles & 50–950 ramp
primary
#8246C5
secondary
#B5CF98
accent
#DC4C98
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83