#8155B2#8155B2
#8155B2 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.9% C 0.145 H 303.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8155B2 |
|---|---|
| RGB | rgb(129, 85, 178) |
| HSL | hsl(268, 38%, 52%) |
| HSV | hsv(268, 52%, 70%) |
| CMYK | cmyk(27.5%, 52.2%, 0%, 30.2%) |
| CIE-LAB | lab(44.77, 37.11, -42.88) |
| CIE-LCH | lch(44.77, 56.71, 310.87°) |
| OKLab | oklab(53.93% 0.0807 -0.1206) |
| OKLCH | oklch(53.93% 0.145 303.8) |
| XYZ | xyz(20.3359, 14.3785, 43.8148) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.39
Deep Lavender
#8D5EB7
ΔE00 3.70
Amethyst
#9B5FC0
ΔE00 6.36
Purply
#983FB2
ΔE00 6.69
Light Indigo
#6D5ACF
ΔE00 7.23
Slate Blue
#6A5ACD
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8155B2 #86B255
analogous
#5558B2 #8155B2 #B055B2
triadic
#8155B2 #B28155 #55B281
tetradic
#8155B2 #B25558 #86B255 #55B2B0
square
#8155B2 #B25558 #86B255 #55B2B0
split-complementary
#8155B2 #B2B055 #58B255
monochromatic
#452C61 #633F8B #8155B2 #A07FC5 #BFA9D8
Accessibility & contrast
On white
5.42
#8155B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#8155B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8155B2
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8155B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8155B2 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#78667B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8155b2; /* rgb */ color: rgb(129, 85, 178); /* oklch */ color: oklch(53.9% 0.145 303.8);
Tailwind
colors: {
custom: {
50: '#a886c9',
500: '#8155b2',
950: '#000000',
},
}SCSS
$custom: #8155b2; $custom-light: #a886c9; $custom-dark: #000000;
JSON
{
"hex": "#8155b2",
"rgb": {
"r": 129,
"g": 85,
"b": 178
},
"hsl": {
"h": 268.387,
"s": 37.652,
"l": 51.569
},
"oklch": {
"l": 0.53933,
"c": 0.14507,
"h": 303.8
},
"luminance": 0.14378
}Semantic roles & 50–950 ramp
primary
#8155B2
secondary
#B3C69D
accent
#CE5A97
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82