#8152CF#8152CF
#8152CF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.185 H 297.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8152CF |
|---|---|
| RGB | rgb(129, 82, 207) |
| HSL | hsl(263, 57%, 57%) |
| HSV | hsv(263, 60%, 81%) |
| CMYK | cmyk(37.7%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(45.92, 46.18, -57.88) |
| CIE-LCH | lch(45.92, 74.04, 308.59°) |
| OKLab | oklab(55.35% 0.0849 -0.1646) |
| OKLCH | oklch(55.35% 0.185 297.3) |
| XYZ | xyz(23.3302, 15.2063, 60.7253) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.47
Light Indigo
#6D5ACF
ΔE00 4.50
Slate Blue
#6A5ACD
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 6.31
Iris
#6258C4
ΔE00 6.34
Deep Lavender
#8D5EB7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8152CF #A0CF52
analogous
#5262CF #8152CF #C052CF
triadic
#8152CF #CF8152 #52CF81
tetradic
#8152CF #CF5262 #A0CF52 #52CFC0
square
#8152CF #CF5262 #A0CF52 #52CFC0
split-complementary
#8152CF #CFC052 #62CF52
monochromatic
#482482 #6231B2 #8152CF #A482DC #C7B2EA
Accessibility & contrast
On white
5.20
#8152CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#8152CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8152CF
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8152CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8152CF | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#1B6BCC
Tritanopia (blue-blind)
#6F6D89
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8152cf; /* rgb */ color: rgb(129, 82, 207); /* oklch */ color: oklch(55.3% 0.185 297.3);
Tailwind
colors: {
custom: {
50: '#aa85de',
500: '#8152cf',
950: '#000000',
},
}SCSS
$custom: #8152cf; $custom-light: #aa85de; $custom-dark: #000000;
JSON
{
"hex": "#8152cf",
"rgb": {
"r": 129,
"g": 82,
"b": 207
},
"hsl": {
"h": 262.56,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.55347,
"c": 0.18521,
"h": 297.3
},
"luminance": 0.15207
}Semantic roles & 50–950 ramp
primary
#8152CF
secondary
#C5D8A5
accent
#E048A7
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83