#9849C8#9849C8
#9849C8 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.2% C 0.195 H 310.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9849C8 |
|---|---|
| RGB | rgb(152, 73, 200) |
| HSL | hsl(277, 54%, 54%) |
| HSV | hsv(277, 64%, 78%) |
| CMYK | cmyk(24%, 63.5%, 0%, 21.6%) |
| CIE-LAB | lab(46.46, 54.33, -52.83) |
| CIE-LCH | lch(46.46, 75.78, 315.80°) |
| OKLab | oklab(56.2% 0.126 -0.149) |
| OKLCH | oklch(56.2% 0.195 310.2) |
| XYZ | xyz(25.7548, 15.6111, 56.2889) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.08
Purply
#983FB2
ΔE00 4.33
Lightish Purple
#A552E6
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 5.87
Deep Lavender
#8D5EB7
ΔE00 6.02
Purpley
#8756E4
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849C8 #79C849
analogous
#5849C8 #9849C8 #C849B8
triadic
#9849C8 #C89849 #49C898
tetradic
#9849C8 #C85849 #79C849 #49B8C8
square
#9849C8 #C85849 #79C849 #49B8C8
split-complementary
#9849C8 #B8C849 #49C858
monochromatic
#552374 #7831A3 #9849C8 #B378D6 #CDA7E4
Accessibility & contrast
On white
5.09
#9849C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#9849C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849C8
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849C8 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCC
Deuteranopia (green-blind)
#396FC5
Tritanopia (blue-blind)
#926282
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9849c8; /* rgb */ color: rgb(152, 73, 200); /* oklch */ color: oklch(56.2% 0.195 310.2);
Tailwind
colors: {
custom: {
50: '#ba80d9',
500: '#9849c8',
950: '#000000',
},
}SCSS
$custom: #9849c8; $custom-light: #ba80d9; $custom-dark: #000000;
JSON
{
"hex": "#9849c8",
"rgb": {
"r": 152,
"g": 73,
"b": 200
},
"hsl": {
"h": 277.323,
"s": 53.586,
"l": 53.529
},
"oklch": {
"l": 0.56198,
"c": 0.19512,
"h": 310.2
},
"luminance": 0.15611
}Semantic roles & 50–950 ramp
primary
#9849C8
secondary
#B0D29B
accent
#DD4B82
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83