#8156DB#8156DB
#8156DB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.194 H 294.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8156DB |
|---|---|
| RGB | rgb(129, 86, 219) |
| HSL | hsl(259, 65%, 60%) |
| HSV | hsv(259, 61%, 86%) |
| CMYK | cmyk(41.1%, 60.7%, 0%, 14.1%) |
| CIE-LAB | lab(47.54, 47.17, -62.11) |
| CIE-LCH | lch(47.54, 77.99, 307.21°) |
| OKLab | oklab(56.79% 0.0798 -0.177) |
| OKLCH | oklch(56.79% 0.194 294.3) |
| XYZ | xyz(25.1638, 16.4366, 68.8509) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.61
Light Indigo
#6D5ACF
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.73
Dark Periwinkle
#665FD1
ΔE00 5.86
Mediumslateblue
#7B68EE
ΔE00 6.21
Iris
#6258C4
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8156DB #B0DB56
analogous
#566EDB #8156DB #C356DB
triadic
#8156DB #DB8156 #56DB81
tetradic
#8156DB #DB566E #B0DB56 #56DBC3
square
#8156DB #DB566E #B0DB56 #56DBC3
split-complementary
#8156DB #DBC356 #6EDB56
monochromatic
#462097 #5E2BC9 #8156DB #A788E6 #CCBBF0
Accessibility & contrast
On white
4.90
#8156DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#8156DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8156DB
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8156DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8156DB | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#697490
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8156db; /* rgb */ color: rgb(129, 86, 219); /* oklch */ color: oklch(56.8% 0.194 294.3);
Tailwind
colors: {
custom: {
50: '#ab87e7',
500: '#8156db',
950: '#000000',
},
}SCSS
$custom: #8156db; $custom-light: #ab87e7; $custom-dark: #000000;
JSON
{
"hex": "#8156db",
"rgb": {
"r": 129,
"g": 86,
"b": 219
},
"hsl": {
"h": 259.398,
"s": 64.878,
"l": 59.804
},
"oklch": {
"l": 0.56789,
"c": 0.19418,
"h": 294.3
},
"luminance": 0.16437
}Semantic roles & 50–950 ramp
primary
#8156DB
secondary
#CFE0AD
accent
#E840B2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84