#8155BA#8155BA
#8155BA is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.4% C 0.155 H 301.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8155BA |
|---|---|
| RGB | rgb(129, 85, 186) |
| HSL | hsl(266, 42%, 53%) |
| HSV | hsv(266, 54%, 73%) |
| CMYK | cmyk(30.6%, 54.3%, 0%, 27.1%) |
| CIE-LAB | lab(45.23, 39.11, -46.82) |
| CIE-LCH | lch(45.23, 61.01, 309.88°) |
| OKLab | oklab(54.42% 0.0812 -0.1321) |
| OKLCH | oklch(54.42% 0.155 301.6) |
| XYZ | xyz(21.1626, 14.7092, 48.1691) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.29
Deep Lavender
#8D5EB7
ΔE00 4.01
Light Indigo
#6D5ACF
ΔE00 6.05
Slate Blue
#6A5ACD
ΔE00 6.35
Amethyst
#9B5FC0
ΔE00 6.35
Purpley
#8756E4
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8155BA #8EBA55
analogous
#555BBA #8155BA #B355BA
triadic
#8155BA #BA8155 #55BA81
tetradic
#8155BA #BA555B #8EBA55 #55BAB3
square
#8155BA #BA555B #8EBA55 #55BAB3
split-complementary
#8155BA #BAB355 #5BBA55
monochromatic
#462B6A #633D95 #8155BA #A181CC #C2ACDD
Accessibility & contrast
On white
5.33
#8155BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#8155BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8155BA
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8155BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8155BA | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#76687F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8155ba; /* rgb */ color: rgb(129, 85, 186); /* oklch */ color: oklch(54.4% 0.155 301.6);
Tailwind
colors: {
custom: {
50: '#a986cf',
500: '#8155ba',
950: '#000000',
},
}SCSS
$custom: #8155ba; $custom-light: #a986cf; $custom-dark: #000000;
JSON
{
"hex": "#8155ba",
"rgb": {
"r": 129,
"g": 85,
"b": 186
},
"hsl": {
"h": 266.139,
"s": 42.259,
"l": 53.137
},
"oklch": {
"l": 0.54424,
"c": 0.15506,
"h": 301.6
},
"luminance": 0.14709
}Semantic roles & 50–950 ramp
primary
#8155BA
secondary
#B8CBA0
accent
#D2569C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82