#9639B7#9639B7
#9639B7 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.199 H 315.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9639B7 |
|---|---|
| RGB | rgb(150, 57, 183) |
| HSL | hsl(284, 53%, 47%) |
| HSV | hsv(284, 69%, 72%) |
| CMYK | cmyk(18%, 68.9%, 0%, 28.2%) |
| CIE-LAB | lab(42.51, 57.52, -49.28) |
| CIE-LCH | lch(42.51, 75.74, 319.41°) |
| OKLab | oklab(52.95% 0.1426 -0.1386) |
| OKLCH | oklch(52.95% 0.199 315.8) |
| XYZ | xyz(22.5867, 12.8300, 46.0772) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.65
Darkorchid
#9932CC
ΔE00 3.24
Barney
#AC1DB8
ΔE00 4.27
Medium Purple
#9E43A2
ΔE00 5.40
Vibrant Purple
#AD03DE
ΔE00 6.25
Darkviolet
#9400D3
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9639B7 #5AB739
analogous
#5739B7 #9639B7 #B73999
triadic
#9639B7 #B79639 #39B796
tetradic
#9639B7 #B75739 #5AB739 #3999B7
square
#9639B7 #B75739 #5AB739 #3999B7
split-complementary
#9639B7 #99B739 #39B757
monochromatic
#4A1C5A #702A88 #9639B7 #B160CD #C88EDC
Accessibility & contrast
On white
5.89
#9639B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#9639B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9639B7
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9639B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9639B7 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3867B4
Tritanopia (blue-blind)
#945274
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9639b7; /* rgb */ color: rgb(150, 57, 183); /* oklch */ color: oklch(53.0% 0.199 315.8);
Tailwind
colors: {
custom: {
50: '#b977cd',
500: '#9639b7',
950: '#000000',
},
}SCSS
$custom: #9639b7; $custom-light: #b977cd; $custom-dark: #000000;
JSON
{
"hex": "#9639b7",
"rgb": {
"r": 150,
"g": 57,
"b": 183
},
"hsl": {
"h": 284.286,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.52954,
"c": 0.19883,
"h": 315.8
},
"luminance": 0.12829
}Semantic roles & 50–950 ramp
primary
#9639B7
secondary
#96C785
accent
#DC4C72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82