#8050B2#8050B2
#8050B2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.153 H 304.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8050B2 |
|---|---|
| RGB | rgb(128, 80, 178) |
| HSL | hsl(269, 39%, 51%) |
| HSV | hsv(269, 55%, 70%) |
| CMYK | cmyk(28.1%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(43.57, 39.67, -44.80) |
| CIE-LCH | lch(43.57, 59.84, 311.52°) |
| OKLab | oklab(53.02% 0.0861 -0.1262) |
| OKLCH | oklch(53.02% 0.153 304.3) |
| XYZ | xyz(19.8049, 13.5409, 43.6812) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.09
Deep Lavender
#8D5EB7
ΔE00 4.93
Purply
#983FB2
ΔE00 5.91
Amethyst
#9B5FC0
ΔE00 7.29
Darkorchid
#9932CC
ΔE00 7.37
Light Indigo
#6D5ACF
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8050B2 #82B250
analogous
#5051B2 #8050B2 #B150B2
triadic
#8050B2 #B28050 #50B280
tetradic
#8050B2 #B25051 #82B250 #50B2B1
square
#8050B2 #B25051 #82B250 #50B2B1
split-complementary
#8050B2 #B2B150 #51B250
monochromatic
#43295E #623C89 #8050B2 #9F7AC5 #BEA5D7
Accessibility & contrast
On white
5.66
#8050B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8050B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8050B2
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8050B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8050B2 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#776379
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8050b2; /* rgb */ color: rgb(128, 80, 178); /* oklch */ color: oklch(53.0% 0.153 304.3);
Tailwind
colors: {
custom: {
50: '#a883c9',
500: '#8050b2',
950: '#000000',
},
}SCSS
$custom: #8050b2; $custom-light: #a883c9; $custom-dark: #000000;
JSON
{
"hex": "#8050b2",
"rgb": {
"r": 128,
"g": 80,
"b": 178
},
"hsl": {
"h": 269.388,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.53018,
"c": 0.15281,
"h": 304.3
},
"luminance": 0.13541
}Semantic roles & 50–950 ramp
primary
#8050B2
secondary
#AFC599
accent
#CF5995
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82