#9646D9#9646D9
#9646D9 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.216 H 305.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9646D9 |
|---|---|
| RGB | rgb(150, 70, 217) |
| HSL | hsl(273, 66%, 56%) |
| HSV | hsv(273, 68%, 85%) |
| CMYK | cmyk(30.9%, 67.7%, 0%, 14.9%) |
| CIE-LAB | lab(46.81, 59.13, -62.04) |
| CIE-LCH | lch(46.81, 85.70, 313.62°) |
| OKLab | oklab(56.75% 0.1254 -0.1761) |
| OKLCH | oklch(56.75% 0.216 305.4) |
| XYZ | xyz(27.2895, 15.8743, 67.2586) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.20
Lightish Purple
#A552E6
ΔE00 4.74
Purpley
#8756E4
ΔE00 4.76
Blueviolet
#8A2BE2
ΔE00 5.42
Electric Purple
#AA23FF
ΔE00 5.63
Violet (survey)
#9A0EEA
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9646D9 #89D946
analogous
#4D46D9 #9646D9 #D946D3
triadic
#9646D9 #D99646 #46D996
tetradic
#9646D9 #D94D46 #89D946 #46D3D9
square
#9646D9 #D94D46 #89D946 #46D3D9
split-complementary
#9646D9 #D3D946 #46D94D
monochromatic
#571C89 #7726BB #9646D9 #B379E3 #D0ACEE
Accessibility & contrast
On white
5.03
#9646D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#9646D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9646D9
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9646D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9646D9 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#136FD6
Tritanopia (blue-blind)
#8A678A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9646d9; /* rgb */ color: rgb(150, 70, 217); /* oklch */ color: oklch(56.7% 0.216 305.4);
Tailwind
colors: {
custom: {
50: '#ba7fe6',
500: '#9646d9',
950: '#000000',
},
}SCSS
$custom: #9646d9; $custom-light: #ba7fe6; $custom-dark: #000000;
JSON
{
"hex": "#9646d9",
"rgb": {
"r": 150,
"g": 70,
"b": 217
},
"hsl": {
"h": 272.653,
"s": 65.919,
"l": 56.275
},
"oklch": {
"l": 0.56748,
"c": 0.21615,
"h": 305.4
},
"luminance": 0.15874
}Semantic roles & 50–950 ramp
primary
#9646D9
secondary
#BBDC9F
accent
#E93F8C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84