#9849CA#9849CA
#9849CA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.197 H 309.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9849CA |
|---|---|
| RGB | rgb(152, 73, 202) |
| HSL | hsl(277, 55%, 54%) |
| HSV | hsv(277, 64%, 79%) |
| CMYK | cmyk(24.8%, 63.9%, 0%, 20.8%) |
| CIE-LAB | lab(46.59, 54.77, -53.78) |
| CIE-LCH | lch(46.59, 76.76, 315.52°) |
| OKLab | oklab(56.33% 0.1259 -0.1518) |
| OKLCH | oklch(56.33% 0.197 309.7) |
| XYZ | xyz(25.9900, 15.7052, 57.5279) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.08
Purply
#983FB2
ΔE00 4.61
Lightish Purple
#A552E6
ΔE00 5.45
Amethyst
#9B5FC0
ΔE00 5.94
Deep Lavender
#8D5EB7
ΔE00 6.14
Purpley
#8756E4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849CA #7BCA49
analogous
#5849CA #9849CA #CA49BC
triadic
#9849CA #CA9849 #49CA98
tetradic
#9849CA #CA5849 #7BCA49 #49BCCA
square
#9849CA #CA5849 #7BCA49 #49BCCA
split-complementary
#9849CA #BCCA49 #49CA58
monochromatic
#562276 #7830A6 #9849CA #B378D8 #CEA8E6
Accessibility & contrast
On white
5.07
#9849CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9849CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849CA
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849CA | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#916383
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9849ca; /* rgb */ color: rgb(152, 73, 202); /* oklch */ color: oklch(56.3% 0.197 309.7);
Tailwind
colors: {
custom: {
50: '#ba81db',
500: '#9849ca',
950: '#000000',
},
}SCSS
$custom: #9849ca; $custom-light: #ba81db; $custom-dark: #000000;
JSON
{
"hex": "#9849ca",
"rgb": {
"r": 152,
"g": 73,
"b": 202
},
"hsl": {
"h": 276.744,
"s": 54.894,
"l": 53.922
},
"oklch": {
"l": 0.56328,
"c": 0.19721,
"h": 309.7
},
"luminance": 0.15705
}Semantic roles & 50–950 ramp
primary
#9849CA
secondary
#B1D39C
accent
#DE4A83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83