#9647C8#9647C8
#9647C8 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.7% C 0.197 H 309.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9647C8 |
|---|---|
| RGB | rgb(150, 71, 200) |
| HSL | hsl(277, 54%, 53%) |
| HSV | hsv(277, 65%, 78%) |
| CMYK | cmyk(25%, 64.5%, 0%, 21.6%) |
| CIE-LAB | lab(45.85, 54.83, -53.81) |
| CIE-LCH | lch(45.85, 76.83, 315.54°) |
| OKLab | oklab(55.71% 0.1258 -0.1519) |
| OKLCH | oklch(55.71% 0.197 309.6) |
| XYZ | xyz(25.2542, 15.1611, 56.2284) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.57
Purply
#983FB2
ΔE00 4.19
Lightish Purple
#A552E6
ΔE00 6.10
Deep Lavender
#8D5EB7
ΔE00 6.39
Vibrant Purple
#AD03DE
ΔE00 6.43
Amethyst
#9B5FC0
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9647C8 #79C847
analogous
#5547C8 #9647C8 #C847BA
triadic
#9647C8 #C89647 #47C896
tetradic
#9647C8 #C85547 #79C847 #47BAC8
square
#9647C8 #C85547 #79C847 #47BAC8
split-complementary
#9647C8 #BAC847 #47C855
monochromatic
#532272 #7630A2 #9647C8 #B176D6 #CCA5E4
Accessibility & contrast
On white
5.21
#9647C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#9647C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9647C8
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9647C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9647C8 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#8F6181
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9647c8; /* rgb */ color: rgb(150, 71, 200); /* oklch */ color: oklch(55.7% 0.197 309.6);
Tailwind
colors: {
custom: {
50: '#b97fd9',
500: '#9647c8',
950: '#000000',
},
}SCSS
$custom: #9647c8; $custom-light: #b97fd9; $custom-dark: #000000;
JSON
{
"hex": "#9647c8",
"rgb": {
"r": 150,
"g": 71,
"b": 200
},
"hsl": {
"h": 276.744,
"s": 53.975,
"l": 53.137
},
"oklch": {
"l": 0.55705,
"c": 0.19724,
"h": 309.6
},
"luminance": 0.15161
}Semantic roles & 50–950 ramp
primary
#9647C8
secondary
#AFD19A
accent
#DD4A83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83