#9A49D7#9A49D7
#9A49D7 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.211 H 307.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9A49D7 |
|---|---|
| RGB | rgb(154, 73, 215) |
| HSL | hsl(274, 64%, 56%) |
| HSV | hsv(274, 66%, 84%) |
| CMYK | cmyk(28.4%, 66%, 0%, 15.7%) |
| CIE-LAB | lab(47.68, 58.11, -59.47) |
| CIE-LCH | lch(47.68, 83.15, 314.34°) |
| OKLab | oklab(57.44% 0.1276 -0.1684) |
| OKLCH | oklch(57.44% 0.211 307.1) |
| XYZ | xyz(27.9721, 16.5417, 65.9961) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.92
Darkorchid
#9932CC
ΔE00 4.71
Purpley
#8756E4
ΔE00 4.98
Electric Purple
#AA23FF
ΔE00 5.94
Vibrant Purple
#AD03DE
ΔE00 6.45
Purply
#983FB2
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A49D7 #86D749
analogous
#5349D7 #9A49D7 #D749CD
triadic
#9A49D7 #D79A49 #49D79A
tetradic
#9A49D7 #D75349 #86D749 #49CDD7
square
#9A49D7 #D75349 #86D749 #49CDD7
split-complementary
#9A49D7 #CDD749 #49D753
monochromatic
#5A1E88 #7C29BA #9A49D7 #B67BE2 #D2ADED
Accessibility & contrast
On white
4.87
#9A49D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#9A49D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A49D7
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A49D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A49D7 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#2872D4
Tritanopia (blue-blind)
#90678A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9a49d7; /* rgb */ color: rgb(154, 73, 215); /* oklch */ color: oklch(57.4% 0.211 307.1);
Tailwind
colors: {
custom: {
50: '#bc81e4',
500: '#9a49d7',
950: '#000000',
},
}SCSS
$custom: #9a49d7; $custom-light: #bc81e4; $custom-dark: #000000;
JSON
{
"hex": "#9a49d7",
"rgb": {
"r": 154,
"g": 73,
"b": 215
},
"hsl": {
"h": 274.225,
"s": 63.964,
"l": 56.471
},
"oklch": {
"l": 0.57436,
"c": 0.21128,
"h": 307.1
},
"luminance": 0.16541
}Semantic roles & 50–950 ramp
primary
#9A49D7
secondary
#BADBA1
accent
#E74188
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84