#8C15E2#8C15E2
#8C15E2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 52.3% C 0.264 H 303.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8C15E2 |
|---|---|
| RGB | rgb(140, 21, 226) |
| HSL | hsl(275, 83%, 48%) |
| HSV | hsv(275, 91%, 89%) |
| CMYK | cmyk(38.1%, 90.7%, 0%, 11.4%) |
| CIE-LAB | lab(40.58, 75.67, -77.39) |
| CIE-LCH | lch(40.58, 108.24, 314.35°) |
| OKLab | oklab(52.33% 0.1445 -0.2212) |
| OKLCH | oklch(52.33% 0.264 303.2) |
| XYZ | xyz(24.8076, 11.6027, 72.8694) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.01
Violet (survey)
#9A0EEA
ΔE00 2.44
Darkviolet
#9400D3
ΔE00 2.63
Violet
#8F00FF
ΔE00 3.41
Vivid Purple
#9900FA
ΔE00 3.48
Darkorchid
#9932CC
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C15E2 #6BE215
analogous
#2515E2 #8C15E2 #E215D1
triadic
#8C15E2 #E28C15 #15E28C
tetradic
#8C15E2 #E22515 #6BE215 #15D1E2
square
#8C15E2 #E22515 #6BE215 #15D1E2
split-complementary
#8C15E2 #D1E215 #15E225
monochromatic
#470B72 #6910AA #8C15E2 #A846EE #C27EF3
Accessibility & contrast
On white
6.32
#8C15E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8C15E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C15E2
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C15E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C15E2 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EE7
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#795886
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8c15e2; /* rgb */ color: rgb(140, 21, 226); /* oklch */ color: oklch(52.3% 0.264 303.2);
Tailwind
colors: {
custom: {
50: '#b66aec',
500: '#8c15e2',
950: '#000000',
},
}SCSS
$custom: #8c15e2; $custom-light: #b66aec; $custom-dark: #000000;
JSON
{
"hex": "#8c15e2",
"rgb": {
"r": 140,
"g": 21,
"b": 226
},
"hsl": {
"h": 274.829,
"s": 82.996,
"l": 48.431
},
"oklch": {
"l": 0.52327,
"c": 0.26421,
"h": 303.2
},
"luminance": 0.11603
}Semantic roles & 50–950 ramp
primary
#8C15E2
secondary
#A1DB78
accent
#F92E84
background
#FCF6FE
surface
#F8ECFD
border
#D1C7D5
text
#120816
muted
#817A84