#9648C7#9648C7
#9648C7 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.8% C 0.195 H 309.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9648C7 |
|---|---|
| RGB | rgb(150, 72, 199) |
| HSL | hsl(277, 53%, 53%) |
| HSV | hsv(277, 64%, 78%) |
| CMYK | cmyk(24.6%, 63.8%, 0%, 22%) |
| CIE-LAB | lab(45.97, 54.13, -53.06) |
| CIE-LCH | lch(45.97, 75.80, 315.57°) |
| OKLab | oklab(55.77% 0.1247 -0.1497) |
| OKLCH | oklch(55.77% 0.195 309.8) |
| XYZ | xyz(25.2018, 15.2428, 55.6363) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.79
Purply
#983FB2
ΔE00 4.14
Lightish Purple
#A552E6
ΔE00 6.09
Deep Lavender
#8D5EB7
ΔE00 6.15
Amethyst
#9B5FC0
ΔE00 6.22
Purpley
#8756E4
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9648C7 #79C748
analogous
#5648C7 #9648C7 #C748B9
triadic
#9648C7 #C79648 #48C796
tetradic
#9648C7 #C75648 #79C748 #48B9C7
square
#9648C7 #C75648 #79C748 #48B9C7
split-complementary
#9648C7 #B9C748 #48C756
monochromatic
#532372 #7631A1 #9648C7 #B177D5 #CCA6E4
Accessibility & contrast
On white
5.19
#9648C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#9648C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9648C7
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9648C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9648C7 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#376EC4
Tritanopia (blue-blind)
#8F6181
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9648c7; /* rgb */ color: rgb(150, 72, 199); /* oklch */ color: oklch(55.8% 0.195 309.8);
Tailwind
colors: {
custom: {
50: '#b980d9',
500: '#9648c7',
950: '#000000',
},
}SCSS
$custom: #9648c7; $custom-light: #b980d9; $custom-dark: #000000;
JSON
{
"hex": "#9648c7",
"rgb": {
"r": 150,
"g": 72,
"b": 199
},
"hsl": {
"h": 276.85,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.55765,
"c": 0.19483,
"h": 309.8
},
"luminance": 0.15242
}Semantic roles & 50–950 ramp
primary
#9648C7
secondary
#AFD19A
accent
#DD4B83
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A15
muted
#817C83