#8156BF#8156BF
#8156BF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.160 H 300.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8156BF |
|---|---|
| RGB | rgb(129, 86, 191) |
| HSL | hsl(265, 45%, 54%) |
| HSV | hsv(265, 55%, 75%) |
| CMYK | cmyk(32.5%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(45.75, 39.82, -48.90) |
| CIE-LCH | lch(45.75, 63.07, 309.16°) |
| OKLab | oklab(54.9% 0.0801 -0.1382) |
| OKLCH | oklch(54.9% 0.16 300.1) |
| XYZ | xyz(21.7828, 15.0841, 51.0440) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.09
Deep Lavender
#8D5EB7
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 5.35
Purpley
#8756E4
ΔE00 5.65
Slate Blue
#6A5ACD
ΔE00 5.71
Amethyst
#9B5FC0
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8156BF #94BF56
analogous
#5660BF #8156BF #B556BF
triadic
#8156BF #BF8156 #56BF81
tetradic
#8156BF #BF5660 #94BF56 #56BFB5
square
#8156BF #BF5660 #94BF56 #56BFB5
split-complementary
#8156BF #BFB556 #60BF56
monochromatic
#472A70 #633B9D #8156BF #A282D0 #C3AFE1
Accessibility & contrast
On white
5.23
#8156BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#8156BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8156BF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8156BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8156BF | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#3A6CBD
Tritanopia (blue-blind)
#746B82
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8156bf; /* rgb */ color: rgb(129, 86, 191); /* oklch */ color: oklch(54.9% 0.160 300.1);
Tailwind
colors: {
custom: {
50: '#a987d3',
500: '#8156bf',
950: '#000000',
},
}SCSS
$custom: #8156bf; $custom-light: #a987d3; $custom-dark: #000000;
JSON
{
"hex": "#8156bf",
"rgb": {
"r": 129,
"g": 86,
"b": 191
},
"hsl": {
"h": 264.571,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.54901,
"c": 0.15975,
"h": 300.1
},
"luminance": 0.15084
}Semantic roles & 50–950 ramp
primary
#8156BF
secondary
#BCCFA2
accent
#D553A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83