#8154B2#8154B2
#8154B2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.147 H 304.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8154B2 |
|---|---|
| RGB | rgb(129, 84, 178) |
| HSL | hsl(269, 38%, 51%) |
| HSV | hsv(269, 53%, 70%) |
| CMYK | cmyk(27.5%, 52.8%, 0%, 30.2%) |
| CIE-LAB | lab(44.55, 37.68, -43.23) |
| CIE-LCH | lch(44.55, 57.34, 311.07°) |
| OKLab | oklab(53.77% 0.082 -0.1216) |
| OKLCH | oklch(53.77% 0.147 304) |
| XYZ | xyz(20.2577, 14.2222, 43.7888) |
| Luminance | 0.1422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.29
Deep Lavender
#8D5EB7
ΔE00 3.91
Purply
#983FB2
ΔE00 6.48
Amethyst
#9B5FC0
ΔE00 6.50
Light Indigo
#6D5ACF
ΔE00 7.28
Slate Blue
#6A5ACD
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8154B2 #85B254
analogous
#5456B2 #8154B2 #B054B2
triadic
#8154B2 #B28154 #54B281
tetradic
#8154B2 #B25456 #85B254 #54B2B0
square
#8154B2 #B25456 #85B254 #54B2B0
split-complementary
#8154B2 #B2B054 #56B254
monochromatic
#452B60 #633E8A #8154B2 #A07EC5 #BFA8D8
Accessibility & contrast
On white
5.46
#8154B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#8154B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8154B2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8154B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8154B2 | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#4369B0
Tritanopia (blue-blind)
#78657B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8154b2; /* rgb */ color: rgb(129, 84, 178); /* oklch */ color: oklch(53.8% 0.147 304.0);
Tailwind
colors: {
custom: {
50: '#a885c9',
500: '#8154b2',
950: '#000000',
},
}SCSS
$custom: #8154b2; $custom-light: #a885c9; $custom-dark: #000000;
JSON
{
"hex": "#8154b2",
"rgb": {
"r": 129,
"g": 84,
"b": 178
},
"hsl": {
"h": 268.723,
"s": 37.903,
"l": 51.373
},
"oklch": {
"l": 0.53769,
"c": 0.14668,
"h": 304
},
"luminance": 0.14222
}Semantic roles & 50–950 ramp
primary
#8154B2
secondary
#B2C69C
accent
#CE5A96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82