#8245C2#8245C2
#8245C2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.188 H 302.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8245C2 |
|---|---|
| RGB | rgb(130, 69, 194) |
| HSL | hsl(269, 51%, 52%) |
| HSV | hsv(269, 64%, 76%) |
| CMYK | cmyk(33%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(42.61, 49.98, -55.69) |
| CIE-LCH | lch(42.61, 74.83, 311.91°) |
| OKLab | oklab(52.7% 0.1021 -0.1581) |
| OKLCH | oklch(52.7% 0.188 302.9) |
| XYZ | xyz(21.0694, 12.8971, 52.4079) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.66
Royal Purple
#7851A9
ΔE00 5.31
Blueviolet
#8A2BE2
ΔE00 5.50
Purply
#983FB2
ΔE00 5.74
Bluey Purple
#6241C7
ΔE00 6.02
Bluish Purple
#703BE7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8245C2 #85C245
analogous
#4547C2 #8245C2 #C145C2
triadic
#8245C2 #C28245 #45C282
tetradic
#8245C2 #C24547 #85C245 #45C2C1
square
#8245C2 #C24547 #85C245 #45C2C1
split-complementary
#8245C2 #C2C145 #47C245
monochromatic
#45236A #643298 #8245C2 #A173D1 #C0A1E0
Accessibility & contrast
On white
5.87
#8245C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#8245C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8245C2
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8245C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8245C2 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#1A64BF
Tritanopia (blue-blind)
#75607D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8245c2; /* rgb */ color: rgb(130, 69, 194); /* oklch */ color: oklch(52.7% 0.188 302.9);
Tailwind
colors: {
custom: {
50: '#ab7cd5',
500: '#8245c2',
950: '#000000',
},
}SCSS
$custom: #8245c2; $custom-light: #ab7cd5; $custom-dark: #000000;
JSON
{
"hex": "#8245c2",
"rgb": {
"r": 130,
"g": 69,
"b": 194
},
"hsl": {
"h": 269.28,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.52695,
"c": 0.18822,
"h": 302.9
},
"luminance": 0.12897
}Semantic roles & 50–950 ramp
primary
#8245C2
secondary
#B2CD96
accent
#DA4E96
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100A14
muted
#7F7C83