#9848CA#9848CA
#9848CA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.2% C 0.199 H 309.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9848CA |
|---|---|
| RGB | rgb(152, 72, 202) |
| HSL | hsl(277, 55%, 54%) |
| HSV | hsv(277, 64%, 79%) |
| CMYK | cmyk(24.8%, 64.4%, 0%, 20.8%) |
| CIE-LAB | lab(46.41, 55.25, -54.06) |
| CIE-LCH | lch(46.41, 77.29, 315.62°) |
| OKLab | oklab(56.2% 0.1271 -0.1526) |
| OKLCH | oklch(56.2% 0.199 309.8) |
| XYZ | xyz(25.9249, 15.5749, 57.5062) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.86
Purply
#983FB2
ΔE00 4.51
Lightish Purple
#A552E6
ΔE00 5.58
Amethyst
#9B5FC0
ΔE00 6.14
Deep Lavender
#8D5EB7
ΔE00 6.31
Purpley
#8756E4
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9848CA #7ACA48
analogous
#5748CA #9848CA #CA48BB
triadic
#9848CA #CA9848 #48CA98
tetradic
#9848CA #CA5748 #7ACA48 #48BBCA
square
#9848CA #CA5748 #7ACA48 #48BBCA
split-complementary
#9848CA #BBCA48 #48CA57
monochromatic
#552276 #7830A5 #9848CA #B377D8 #CDA7E5
Accessibility & contrast
On white
5.10
#9848CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9848CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9848CA
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9848CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9848CA | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#916283
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9848ca; /* rgb */ color: rgb(152, 72, 202); /* oklch */ color: oklch(56.2% 0.199 309.8);
Tailwind
colors: {
custom: {
50: '#ba80db',
500: '#9848ca',
950: '#000000',
},
}SCSS
$custom: #9848ca; $custom-light: #ba80db; $custom-dark: #000000;
JSON
{
"hex": "#9848ca",
"rgb": {
"r": 152,
"g": 72,
"b": 202
},
"hsl": {
"h": 276.923,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.56203,
"c": 0.19858,
"h": 309.8
},
"luminance": 0.15574
}Semantic roles & 50–950 ramp
primary
#9848CA
secondary
#B0D39B
accent
#DE4983
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83