#8A49B2#8A49B2
#8A49B2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.167 H 310.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49B2 |
|---|---|
| RGB | rgb(138, 73, 178) |
| HSL | hsl(277, 42%, 49%) |
| HSV | hsv(277, 59%, 70%) |
| CMYK | cmyk(22.5%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(43.33, 46.03, -45.10) |
| CIE-LCH | lch(43.33, 64.44, 315.58°) |
| OKLab | oklab(53.11% 0.1083 -0.1268) |
| OKLCH | oklch(53.11% 0.167 310.5) |
| XYZ | xyz(20.8981, 13.3831, 43.5932) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.23
Royal Purple
#7851A9
ΔE00 4.30
Darkorchid
#9932CC
ΔE00 5.49
Deep Lavender
#8D5EB7
ΔE00 5.82
Medium Purple
#9E43A2
ΔE00 5.96
Amethyst
#9B5FC0
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49B2 #71B249
analogous
#5649B2 #8A49B2 #B249A6
triadic
#8A49B2 #B28A49 #49B28A
tetradic
#8A49B2 #B25649 #71B249 #49A6B2
square
#8A49B2 #B25649 #71B249 #49A6B2
split-complementary
#8A49B2 #A6B249 #49B256
monochromatic
#47255B #683787 #8A49B2 #A673C5 #C29ED7
Accessibility & contrast
On white
5.71
#8A49B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#8A49B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49B2
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49B2 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#3F68AF
Tritanopia (blue-blind)
#855C76
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8a49b2; /* rgb */ color: rgb(138, 73, 178); /* oklch */ color: oklch(53.1% 0.167 310.5);
Tailwind
colors: {
custom: {
50: '#af7fc9',
500: '#8a49b2',
950: '#000000',
},
}SCSS
$custom: #8a49b2; $custom-light: #af7fc9; $custom-dark: #000000;
JSON
{
"hex": "#8a49b2",
"rgb": {
"r": 138,
"g": 73,
"b": 178
},
"hsl": {
"h": 277.143,
"s": 41.833,
"l": 49.216
},
"oklch": {
"l": 0.53113,
"c": 0.16677,
"h": 310.5
},
"luminance": 0.13383
}Semantic roles & 50–950 ramp
primary
#8A49B2
secondary
#A6C493
accent
#D25685
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82