#9849C7#9849C7
#9849C7 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.194 H 310.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9849C7 |
|---|---|
| RGB | rgb(152, 73, 199) |
| HSL | hsl(278, 53%, 53%) |
| HSV | hsv(278, 63%, 78%) |
| CMYK | cmyk(23.6%, 63.3%, 0%, 22%) |
| CIE-LAB | lab(46.40, 54.11, -52.35) |
| CIE-LCH | lch(46.40, 75.28, 315.95°) |
| OKLab | oklab(56.13% 0.1261 -0.1476) |
| OKLCH | oklch(56.13% 0.194 310.5) |
| XYZ | xyz(25.6383, 15.5646, 55.6754) |
| Luminance | 0.1556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.09
Purply
#983FB2
ΔE00 4.18
Lightish Purple
#A552E6
ΔE00 5.81
Amethyst
#9B5FC0
ΔE00 5.83
Deep Lavender
#8D5EB7
ΔE00 5.97
Purpley
#8756E4
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849C7 #78C749
analogous
#5949C7 #9849C7 #C749B7
triadic
#9849C7 #C79849 #49C798
tetradic
#9849C7 #C75949 #78C749 #49B7C7
square
#9849C7 #C75949 #78C749 #49B7C7
split-complementary
#9849C7 #B7C749 #49C759
monochromatic
#552372 #7832A1 #9849C7 #B278D5 #CDA7E4
Accessibility & contrast
On white
5.11
#9849C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9849C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849C7
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849C7 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036ACB
Deuteranopia (green-blind)
#3A6FC4
Tritanopia (blue-blind)
#926281
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9849c7; /* rgb */ color: rgb(152, 73, 199); /* oklch */ color: oklch(56.1% 0.194 310.5);
Tailwind
colors: {
custom: {
50: '#ba80d9',
500: '#9849c7',
950: '#000000',
},
}SCSS
$custom: #9849c7; $custom-light: #ba80d9; $custom-dark: #000000;
JSON
{
"hex": "#9849c7",
"rgb": {
"r": 152,
"g": 73,
"b": 199
},
"hsl": {
"h": 277.619,
"s": 52.941,
"l": 53.333
},
"oklch": {
"l": 0.56133,
"c": 0.19409,
"h": 310.5
},
"luminance": 0.15564
}Semantic roles & 50–950 ramp
primary
#9849C7
secondary
#AFD19B
accent
#DC4B82
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83