#8150B2#8150B2
#8150B2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.153 H 304.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8150B2 |
|---|---|
| RGB | rgb(129, 80, 178) |
| HSL | hsl(270, 39%, 51%) |
| HSV | hsv(270, 55%, 70%) |
| CMYK | cmyk(27.5%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(43.68, 39.93, -44.61) |
| CIE-LCH | lch(43.68, 59.87, 311.83°) |
| OKLab | oklab(53.13% 0.0874 -0.1257) |
| OKLCH | oklch(53.13% 0.153 304.8) |
| XYZ | xyz(19.9561, 13.6189, 43.6882) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.22
Deep Lavender
#8D5EB7
ΔE00 4.81
Purply
#983FB2
ΔE00 5.74
Amethyst
#9B5FC0
ΔE00 7.13
Darkorchid
#9932CC
ΔE00 7.28
Light Indigo
#6D5ACF
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8150B2 #81B250
analogous
#5050B2 #8150B2 #B250B2
triadic
#8150B2 #B28150 #50B281
tetradic
#8150B2 #B25050 #81B250 #50B2B2
square
#8150B2 #B25050 #81B250 #50B2B2
split-complementary
#8150B2 #B2B250 #50B250
monochromatic
#44295E #623C89 #8150B2 #A07AC5 #BEA5D7
Accessibility & contrast
On white
5.64
#8150B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8150B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8150B2
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8150B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8150B2 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#3E67B0
Tritanopia (blue-blind)
#796279
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8150b2; /* rgb */ color: rgb(129, 80, 178); /* oklch */ color: oklch(53.1% 0.153 304.8);
Tailwind
colors: {
custom: {
50: '#a883c9',
500: '#8150b2',
950: '#000000',
},
}SCSS
$custom: #8150b2; $custom-light: #a883c9; $custom-dark: #000000;
JSON
{
"hex": "#8150b2",
"rgb": {
"r": 129,
"g": 80,
"b": 178
},
"hsl": {
"h": 270,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.53128,
"c": 0.15307,
"h": 304.8
},
"luminance": 0.13619
}Semantic roles & 50–950 ramp
primary
#8150B2
secondary
#AFC599
accent
#CF5994
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82