#8152BF#8152BF
#8152BF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.3% C 0.166 H 300.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8152BF |
|---|---|
| RGB | rgb(129, 82, 191) |
| HSL | hsl(266, 46%, 54%) |
| HSV | hsv(266, 57%, 75%) |
| CMYK | cmyk(32.5%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(44.89, 42.06, -50.28) |
| CIE-LCH | lch(44.89, 65.55, 309.92°) |
| OKLab | oklab(54.27% 0.0852 -0.1423) |
| OKLCH | oklch(54.27% 0.166 300.9) |
| XYZ | xyz(21.4723, 14.4632, 50.9405) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.89
Deep Lavender
#8D5EB7
ΔE00 4.96
Light Indigo
#6D5ACF
ΔE00 5.70
Purpley
#8756E4
ΔE00 5.82
Slate Blue
#6A5ACD
ΔE00 6.04
Iris
#6258C4
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8152BF #90BF52
analogous
#5259BF #8152BF #B852BF
triadic
#8152BF #BF8152 #52BF81
tetradic
#8152BF #BF5259 #90BF52 #52BFB8
square
#8152BF #BF5259 #90BF52 #52BFB8
split-complementary
#8152BF #BFB852 #59BF52
monochromatic
#47296E #63399B #8152BF #A27FD0 #C2ABE0
Accessibility & contrast
On white
5.39
#8152BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#8152BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8152BF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8152BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8152BF | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#346ABC
Tritanopia (blue-blind)
#746881
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8152bf; /* rgb */ color: rgb(129, 82, 191); /* oklch */ color: oklch(54.3% 0.166 300.9);
Tailwind
colors: {
custom: {
50: '#a984d3',
500: '#8152bf',
950: '#000000',
},
}SCSS
$custom: #8152bf; $custom-light: #a984d3; $custom-dark: #000000;
JSON
{
"hex": "#8152bf",
"rgb": {
"r": 129,
"g": 82,
"b": 191
},
"hsl": {
"h": 265.872,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.54269,
"c": 0.16582,
"h": 300.9
},
"luminance": 0.14463
}Semantic roles & 50–950 ramp
primary
#8152BF
secondary
#BACE9F
accent
#D6529D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83