#8A49C1#8A49C1
#8A49C1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.183 H 306.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49C1 |
|---|---|
| RGB | rgb(138, 73, 193) |
| HSL | hsl(273, 49%, 52%) |
| HSV | hsv(273, 62%, 76%) |
| CMYK | cmyk(28.5%, 62.2%, 0%, 24.3%) |
| CIE-LAB | lab(44.26, 49.50, -52.40) |
| CIE-LCH | lch(44.26, 72.08, 313.37°) |
| OKLab | oklab(54.08% 0.1082 -0.1482) |
| OKLCH | oklch(54.08% 0.183 306.1) |
| XYZ | xyz(22.4874, 14.0188, 51.9630) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.40
Purply
#983FB2
ΔE00 4.59
Royal Purple
#7851A9
ΔE00 5.23
Deep Lavender
#8D5EB7
ΔE00 6.11
Blueviolet
#8A2BE2
ΔE00 6.46
Purpley
#8756E4
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49C1 #80C149
analogous
#4E49C1 #8A49C1 #C149BC
triadic
#8A49C1 #C18A49 #49C18A
tetradic
#8A49C1 #C14E49 #80C149 #49BCC1
square
#8A49C1 #C14E49 #80C149 #49BCC1
split-complementary
#8A49C1 #BCC149 #49C14E
monochromatic
#4B246B #6B3499 #8A49C1 #A777D1 #C5A4E0
Accessibility & contrast
On white
5.52
#8A49C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#8A49C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49C1
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49C1 | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#3069BE
Tritanopia (blue-blind)
#81617E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a49c1; /* rgb */ color: rgb(138, 73, 193); /* oklch */ color: oklch(54.1% 0.183 306.1);
Tailwind
colors: {
custom: {
50: '#b07fd4',
500: '#8a49c1',
950: '#000000',
},
}SCSS
$custom: #8a49c1; $custom-light: #b07fd4; $custom-dark: #000000;
JSON
{
"hex": "#8a49c1",
"rgb": {
"r": 138,
"g": 73,
"b": 193
},
"hsl": {
"h": 272.5,
"s": 49.18,
"l": 52.157
},
"oklch": {
"l": 0.54083,
"c": 0.18344,
"h": 306.1
},
"luminance": 0.14019
}Semantic roles & 50–950 ramp
primary
#8A49C1
secondary
#B1CD99
accent
#D94F8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83