#8152CB#8152CB
#8152CB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.180 H 298.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8152CB |
|---|---|
| RGB | rgb(129, 82, 203) |
| HSL | hsl(263, 54%, 56%) |
| HSV | hsv(263, 60%, 80%) |
| CMYK | cmyk(36.5%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(45.65, 45.14, -56.00) |
| CIE-LCH | lch(45.65, 71.93, 308.87°) |
| OKLab | oklab(55.07% 0.0851 -0.1591) |
| OKLCH | oklch(55.07% 0.18 298.1) |
| XYZ | xyz(22.8474, 15.0132, 58.1825) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.02
Light Indigo
#6D5ACF
ΔE00 4.69
Slate Blue
#6A5ACD
ΔE00 5.15
Royal Purple
#7851A9
ΔE00 5.71
Deep Lavender
#8D5EB7
ΔE00 6.05
Iris
#6258C4
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8152CB #9CCB52
analogous
#525FCB #8152CB #BE52CB
triadic
#8152CB #CB8152 #52CB81
tetradic
#8152CB #CB525F #9CCB52 #52CBBE
square
#8152CB #CB525F #9CCB52 #52CBBE
split-complementary
#8152CB #CBBE52 #5FCB52
monochromatic
#48267D #6234AC #8152CB #A381D9 #C6B0E7
Accessibility & contrast
On white
5.25
#8152CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#8152CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8152CB
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8152CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8152CB | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#236BC8
Tritanopia (blue-blind)
#706C87
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8152cb; /* rgb */ color: rgb(129, 82, 203); /* oklch */ color: oklch(55.1% 0.180 298.1);
Tailwind
colors: {
custom: {
50: '#aa85db',
500: '#8152cb',
950: '#000000',
},
}SCSS
$custom: #8152cb; $custom-light: #aa85db; $custom-dark: #000000;
JSON
{
"hex": "#8152cb",
"rgb": {
"r": 129,
"g": 82,
"b": 203
},
"hsl": {
"h": 263.306,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.55071,
"c": 0.18038,
"h": 298.1
},
"luminance": 0.15014
}Semantic roles & 50–950 ramp
primary
#8152CB
secondary
#C2D5A3
accent
#DD4BA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83