#8145C8#8145C8
#8145C8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.195 H 301.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8145C8 |
|---|---|
| RGB | rgb(129, 69, 200) |
| HSL | hsl(267, 54%, 53%) |
| HSV | hsv(267, 66%, 78%) |
| CMYK | cmyk(35.5%, 65.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.90, 51.25, -58.70) |
| CIE-LCH | lch(42.90, 77.93, 311.12°) |
| OKLab | oklab(53.01% 0.1002 -0.167) |
| OKLCH | oklch(53.01% 0.195 301) |
| XYZ | xyz(21.6042, 13.0934, 56.0215) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.81
Blueviolet
#8A2BE2
ΔE00 4.92
Bluish Purple
#703BE7
ΔE00 5.45
Bluey Purple
#6241C7
ΔE00 5.59
Royal Purple
#7851A9
ΔE00 5.97
Purpley
#8756E4
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8145C8 #8CC845
analogous
#454AC8 #8145C8 #C345C8
triadic
#8145C8 #C88145 #45C881
tetradic
#8145C8 #C8454A #8CC845 #45C8C3
square
#8145C8 #C8454A #8CC845 #45C8C3
split-complementary
#8145C8 #C8C345 #4AC845
monochromatic
#462171 #632FA0 #8145C8 #A174D6 #C1A3E4
Accessibility & contrast
On white
5.80
#8145C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#8145C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8145C8
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8145C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8145C8 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0165C5
Tritanopia (blue-blind)
#726281
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8145c8; /* rgb */ color: rgb(129, 69, 200); /* oklch */ color: oklch(53.0% 0.195 301.0);
Tailwind
colors: {
custom: {
50: '#ab7cd9',
500: '#8145c8',
950: '#000000',
},
}SCSS
$custom: #8145c8; $custom-light: #ab7cd9; $custom-dark: #000000;
JSON
{
"hex": "#8145c8",
"rgb": {
"r": 129,
"g": 69,
"b": 200
},
"hsl": {
"h": 267.481,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.53013,
"c": 0.19476,
"h": 301
},
"luminance": 0.13094
}Semantic roles & 50–950 ramp
primary
#8145C8
secondary
#B7D198
accent
#DE4A9A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83