#8049BF#8049BF
#8049BF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.179 H 302.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8049BF |
|---|---|
| RGB | rgb(128, 73, 191) |
| HSL | hsl(268, 48%, 52%) |
| HSV | hsv(268, 62%, 75%) |
| CMYK | cmyk(33%, 61.8%, 0%, 25.1%) |
| CIE-LAB | lab(42.94, 46.72, -53.42) |
| CIE-LCH | lch(42.94, 70.97, 311.17°) |
| OKLab | oklab(52.82% 0.095 -0.1515) |
| OKLCH | oklch(52.82% 0.179 302.1) |
| XYZ | xyz(20.6864, 13.1158, 50.7219) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.42
Darkorchid
#9932CC
ΔE00 5.51
Purply
#983FB2
ΔE00 5.99
Bluey Purple
#6241C7
ΔE00 6.11
Blueviolet
#8A2BE2
ΔE00 6.43
Purpley
#8756E4
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8049BF #88BF49
analogous
#494DBF #8049BF #BB49BF
triadic
#8049BF #BF8049 #49BF80
tetradic
#8049BF #BF494D #88BF49 #49BFBB
square
#8049BF #BF494D #88BF49 #49BFBB
split-complementary
#8049BF #BFBB49 #4DBF49
monochromatic
#442569 #623596 #8049BF #A076CF #BFA4DF
Accessibility & contrast
On white
5.80
#8049BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#8049BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8049BF
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8049BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8049BF | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#73627D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8049bf; /* rgb */ color: rgb(128, 73, 191); /* oklch */ color: oklch(52.8% 0.179 302.1);
Tailwind
colors: {
custom: {
50: '#a97fd3',
500: '#8049bf',
950: '#000000',
},
}SCSS
$custom: #8049bf; $custom-light: #a97fd3; $custom-dark: #000000;
JSON
{
"hex": "#8049bf",
"rgb": {
"r": 128,
"g": 73,
"b": 191
},
"hsl": {
"h": 267.966,
"s": 47.967,
"l": 51.765
},
"oklch": {
"l": 0.52817,
"c": 0.17881,
"h": 302.1
},
"luminance": 0.13116
}Semantic roles & 50–950 ramp
primary
#8049BF
secondary
#B4CC98
accent
#D85098
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83