#9849CE#9849CE
#9849CE is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.201 H 308.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9849CE |
|---|---|
| RGB | rgb(152, 73, 206) |
| HSL | hsl(276, 58%, 55%) |
| HSV | hsv(276, 65%, 81%) |
| CMYK | cmyk(26.2%, 64.6%, 0%, 19.2%) |
| CIE-LAB | lab(46.84, 55.66, -55.67) |
| CIE-LCH | lch(46.84, 78.73, 314.99°) |
| OKLab | oklab(56.59% 0.1257 -0.1573) |
| OKLCH | oklch(56.59% 0.201 308.6) |
| XYZ | xyz(26.4698, 15.8971, 60.0546) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.15
Lightish Purple
#A552E6
ΔE00 5.00
Purply
#983FB2
ΔE00 5.19
Purpley
#8756E4
ΔE00 5.75
Amethyst
#9B5FC0
ΔE00 6.13
Deep Lavender
#8D5EB7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849CE #7FCE49
analogous
#5549CE #9849CE #CE49C2
triadic
#9849CE #CE9849 #49CE98
tetradic
#9849CE #CE5549 #7FCE49 #49C2CE
square
#9849CE #CE5549 #7FCE49 #49C2CE
split-complementary
#9849CE #C2CE49 #49CE55
monochromatic
#57217B #792EAC #9849CE #B379DB #CFA9E8
Accessibility & contrast
On white
5.02
#9849CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#9849CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849CE
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849CE | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#906485
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9849ce; /* rgb */ color: rgb(152, 73, 206); /* oklch */ color: oklch(56.6% 0.201 308.6);
Tailwind
colors: {
custom: {
50: '#ba81de',
500: '#9849ce',
950: '#000000',
},
}SCSS
$custom: #9849ce; $custom-light: #ba81de; $custom-dark: #000000;
JSON
{
"hex": "#9849ce",
"rgb": {
"r": 152,
"g": 73,
"b": 206
},
"hsl": {
"h": 275.639,
"s": 57.576,
"l": 54.706
},
"oklch": {
"l": 0.56593,
"c": 0.20138,
"h": 308.6
},
"luminance": 0.15897
}Semantic roles & 50–950 ramp
primary
#9849CE
secondary
#B4D59D
accent
#E14785
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83