#8151BD#8151BD
#8151BD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.165 H 301.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8151BD |
|---|---|
| RGB | rgb(129, 81, 189) |
| HSL | hsl(267, 45%, 53%) |
| HSV | hsv(267, 57%, 74%) |
| CMYK | cmyk(31.7%, 57.1%, 0%, 25.9%) |
| CIE-LAB | lab(44.56, 42.11, -49.65) |
| CIE-LCH | lch(44.56, 65.11, 310.30°) |
| OKLab | oklab(53.98% 0.0864 -0.1404) |
| OKLCH | oklch(53.98% 0.165 301.6) |
| XYZ | xyz(21.1789, 14.2260, 49.7644) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.59
Deep Lavender
#8D5EB7
ΔE00 5.01
Light Indigo
#6D5ACF
ΔE00 6.04
Purpley
#8756E4
ΔE00 6.21
Slate Blue
#6A5ACD
ΔE00 6.36
Purply
#983FB2
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8151BD #8DBD51
analogous
#5157BD #8151BD #B751BD
triadic
#8151BD #BD8151 #51BD81
tetradic
#8151BD #BD5157 #8DBD51 #51BDB7
square
#8151BD #BD5157 #8DBD51 #51BDB7
split-complementary
#8151BD #BDB751 #57BD51
monochromatic
#46296B #633997 #8151BD #A17DCE #C1AADF
Accessibility & contrast
On white
5.46
#8151BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#8151BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8151BD
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8151BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8151BD | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2269C1
Deuteranopia (green-blind)
#3569BB
Tritanopia (blue-blind)
#75677F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8151bd; /* rgb */ color: rgb(129, 81, 189); /* oklch */ color: oklch(54.0% 0.165 301.6);
Tailwind
colors: {
custom: {
50: '#a984d1',
500: '#8151bd',
950: '#000000',
},
}SCSS
$custom: #8151bd; $custom-light: #a984d1; $custom-dark: #000000;
JSON
{
"hex": "#8151bd",
"rgb": {
"r": 129,
"g": 81,
"b": 189
},
"hsl": {
"h": 266.667,
"s": 45,
"l": 52.941
},
"oklch": {
"l": 0.53983,
"c": 0.16489,
"h": 301.6
},
"luminance": 0.14226
}Semantic roles & 50–950 ramp
primary
#8151BD
secondary
#B7CC9E
accent
#D5539B
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82