#9647BA#9647BA
#9647BA is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.183 H 313.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9647BA |
|---|---|
| RGB | rgb(150, 71, 186) |
| HSL | hsl(281, 45%, 50%) |
| HSV | hsv(281, 62%, 73%) |
| CMYK | cmyk(19.4%, 61.8%, 0%, 27.1%) |
| CIE-LAB | lab(44.99, 51.77, -47.06) |
| CIE-LCH | lch(44.99, 69.96, 317.73°) |
| OKLab | oklab(54.81% 0.1262 -0.1321) |
| OKLCH | oklch(54.81% 0.183 313.7) |
| XYZ | xyz(23.6923, 14.5364, 48.0026) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.21
Darkorchid
#9932CC
ΔE00 4.38
Medium Purple
#9E43A2
ΔE00 5.27
Deep Lavender
#8D5EB7
ΔE00 6.02
Barney
#AC1DB8
ΔE00 6.11
Amethyst
#9B5FC0
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9647BA #6BBA47
analogous
#5C47BA #9647BA #BA47A5
triadic
#9647BA #BA9647 #47BA96
tetradic
#9647BA #BA5C47 #6BBA47 #47A5BA
square
#9647BA #BA5C47 #6BBA47 #47A5BA
split-complementary
#9647BA #A5BA47 #47BA5C
monochromatic
#4F2562 #73358E #9647BA #AF74CB #C9A0DB
Accessibility & contrast
On white
5.37
#9647BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#9647BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9647BA
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9647BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9647BA | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#426CB7
Tritanopia (blue-blind)
#935C7A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9647ba; /* rgb */ color: rgb(150, 71, 186); /* oklch */ color: oklch(54.8% 0.183 313.7);
Tailwind
colors: {
custom: {
50: '#b87fcf',
500: '#9647ba',
950: '#000000',
},
}SCSS
$custom: #9647ba; $custom-light: #b87fcf; $custom-dark: #000000;
JSON
{
"hex": "#9647ba",
"rgb": {
"r": 150,
"g": 71,
"b": 186
},
"hsl": {
"h": 281.217,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.54806,
"c": 0.18275,
"h": 313.7
},
"luminance": 0.14536
}Semantic roles & 50–950 ramp
primary
#9647BA
secondary
#A5C895
accent
#D5537C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82