#8245C5#8245C5
#8245C5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.192 H 302.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8245C5 |
|---|---|
| RGB | rgb(130, 69, 197) |
| HSL | hsl(269, 52%, 52%) |
| HSV | hsv(269, 65%, 77%) |
| CMYK | cmyk(34%, 65%, 0%, 22.7%) |
| CIE-LAB | lab(42.81, 50.72, -57.10) |
| CIE-LCH | lch(42.81, 76.38, 311.61°) |
| OKLab | oklab(52.91% 0.1019 -0.1622) |
| OKLCH | oklch(52.91% 0.192 302.1) |
| XYZ | xyz(21.4097, 13.0332, 54.2002) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.64
Blueviolet
#8A2BE2
ΔE00 5.19
Royal Purple
#7851A9
ΔE00 5.64
Bluey Purple
#6241C7
ΔE00 5.88
Bluish Purple
#703BE7
ΔE00 5.94
Purply
#983FB2
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8245C5 #88C545
analogous
#4548C5 #8245C5 #C245C5
triadic
#8245C5 #C58245 #45C582
tetradic
#8245C5 #C54548 #88C545 #45C5C2
square
#8245C5 #C54548 #88C545 #45C5C2
split-complementary
#8245C5 #C5C245 #48C545
monochromatic
#46226D #64319C #8245C5 #A174D4 #C1A2E2
Accessibility & contrast
On white
5.82
#8245C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8245C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8245C5
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8245C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8245C5 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#1265C2
Tritanopia (blue-blind)
#74617F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8245c5; /* rgb */ color: rgb(130, 69, 197); /* oklch */ color: oklch(52.9% 0.192 302.1);
Tailwind
colors: {
custom: {
50: '#ab7cd7',
500: '#8245c5',
950: '#000000',
},
}SCSS
$custom: #8245c5; $custom-light: #ab7cd7; $custom-dark: #000000;
JSON
{
"hex": "#8245c5",
"rgb": {
"r": 130,
"g": 69,
"b": 197
},
"hsl": {
"h": 268.594,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.52909,
"c": 0.19158,
"h": 302.1
},
"luminance": 0.13033
}Semantic roles & 50–950 ramp
primary
#8245C5
secondary
#B4CF97
accent
#DC4C97
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83