#8145C5#8145C5
#8145C5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.191 H 301.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8145C5 |
|---|---|
| RGB | rgb(129, 69, 197) |
| HSL | hsl(268, 52%, 52%) |
| HSV | hsv(268, 65%, 77%) |
| CMYK | cmyk(34.5%, 65%, 0%, 22.7%) |
| CIE-LAB | lab(42.69, 50.51, -57.30) |
| CIE-LCH | lch(42.69, 76.38, 311.39°) |
| OKLab | oklab(52.8% 0.1005 -0.1629) |
| OKLCH | oklch(52.8% 0.191 301.7) |
| XYZ | xyz(21.2570, 12.9545, 54.1931) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 5.20
Royal Purple
#7851A9
ΔE00 5.63
Bluey Purple
#6241C7
ΔE00 5.69
Bluish Purple
#703BE7
ΔE00 5.83
Purply
#983FB2
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8145C5 #89C545
analogous
#4549C5 #8145C5 #C145C5
triadic
#8145C5 #C58145 #45C581
tetradic
#8145C5 #C54549 #89C545 #45C5C1
square
#8145C5 #C54549 #89C545 #45C5C1
split-complementary
#8145C5 #C5C145 #49C545
monochromatic
#45226D #63319C #8145C5 #A174D4 #C0A2E2
Accessibility & contrast
On white
5.85
#8145C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#8145C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8145C5
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8145C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8145C5 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#0E64C2
Tritanopia (blue-blind)
#73617F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8145c5; /* rgb */ color: rgb(129, 69, 197); /* oklch */ color: oklch(52.8% 0.191 301.7);
Tailwind
colors: {
custom: {
50: '#aa7cd7',
500: '#8145c5',
950: '#000000',
},
}SCSS
$custom: #8145c5; $custom-light: #aa7cd7; $custom-dark: #000000;
JSON
{
"hex": "#8145c5",
"rgb": {
"r": 129,
"g": 69,
"b": 197
},
"hsl": {
"h": 268.125,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.52797,
"c": 0.19139,
"h": 301.7
},
"luminance": 0.12955
}Semantic roles & 50–950 ramp
primary
#8145C5
secondary
#B5CF97
accent
#DC4C98
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100A14
muted
#7F7C83