#9849CF#9849CF
#9849CF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.202 H 308.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9849CF |
|---|---|
| RGB | rgb(152, 73, 207) |
| HSL | hsl(275, 58%, 55%) |
| HSV | hsv(275, 65%, 81%) |
| CMYK | cmyk(26.6%, 64.7%, 0%, 18.8%) |
| CIE-LAB | lab(46.90, 55.88, -56.15) |
| CIE-LCH | lch(46.90, 79.22, 314.87°) |
| OKLab | oklab(56.66% 0.1256 -0.1587) |
| OKLCH | oklch(56.66% 0.202 308.4) |
| XYZ | xyz(26.5916, 15.9459, 60.6964) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.18
Lightish Purple
#A552E6
ΔE00 4.89
Purply
#983FB2
ΔE00 5.34
Purpley
#8756E4
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 6.18
Deep Lavender
#8D5EB7
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849CF #80CF49
analogous
#5549CF #9849CF #CF49C3
triadic
#9849CF #CF9849 #49CF98
tetradic
#9849CF #CF5549 #80CF49 #49C3CF
square
#9849CF #CF5549 #80CF49 #49C3CF
split-complementary
#9849CF #C3CF49 #49CF55
monochromatic
#57217D #792EAD #9849CF #B379DC #CFAAE9
Accessibility & contrast
On white
5.01
#9849CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#9849CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849CF
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849CF | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#906586
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9849cf; /* rgb */ color: rgb(152, 73, 207); /* oklch */ color: oklch(56.7% 0.202 308.4);
Tailwind
colors: {
custom: {
50: '#ba81de',
500: '#9849cf',
950: '#000000',
},
}SCSS
$custom: #9849cf; $custom-light: #ba81de; $custom-dark: #000000;
JSON
{
"hex": "#9849cf",
"rgb": {
"r": 152,
"g": 73,
"b": 207
},
"hsl": {
"h": 275.373,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.56659,
"c": 0.20242,
"h": 308.4
},
"luminance": 0.15945
}Semantic roles & 50–950 ramp
primary
#9849CF
secondary
#B5D69E
accent
#E14686
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83