#9846CF#9846CF
#9846CF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.206 H 308.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9846CF |
|---|---|
| RGB | rgb(152, 70, 207) |
| HSL | hsl(276, 59%, 54%) |
| HSV | hsv(276, 66%, 81%) |
| CMYK | cmyk(26.6%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(46.39, 57.29, -56.97) |
| CIE-LCH | lch(46.39, 80.79, 315.16°) |
| OKLab | oklab(56.29% 0.129 -0.1611) |
| OKLCH | oklch(56.29% 0.206 308.7) |
| XYZ | xyz(26.3993, 15.5611, 60.6323) |
| Luminance | 0.1556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.56
Purply
#983FB2
ΔE00 5.08
Lightish Purple
#A552E6
ΔE00 5.32
Purpley
#8756E4
ΔE00 5.95
Vibrant Purple
#AD03DE
ΔE00 5.98
Blueviolet
#8A2BE2
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9846CF #7DCF46
analogous
#5446CF #9846CF #CF46C2
triadic
#9846CF #CF9846 #46CF98
tetradic
#9846CF #CF5446 #7DCF46 #46C2CF
square
#9846CF #CF5446 #7DCF46 #46C2CF
split-complementary
#9846CF #C2CF46 #46CF54
monochromatic
#56207B #782CAB #9846CF #B377DC #CEA7E8
Accessibility & contrast
On white
5.11
#9846CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9846CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9846CF
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9846CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9846CF | 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)
#006BD3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#906385
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9846cf; /* rgb */ color: rgb(152, 70, 207); /* oklch */ color: oklch(56.3% 0.206 308.7);
Tailwind
colors: {
custom: {
50: '#ba7fde',
500: '#9846cf',
950: '#000000',
},
}SCSS
$custom: #9846cf; $custom-light: #ba7fde; $custom-dark: #000000;
JSON
{
"hex": "#9846cf",
"rgb": {
"r": 152,
"g": 70,
"b": 207
},
"hsl": {
"h": 275.912,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.56292,
"c": 0.20639,
"h": 308.7
},
"luminance": 0.15561
}Semantic roles & 50–950 ramp
primary
#9846CF
secondary
#B3D59B
accent
#E24685
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83