#9639B2#9639B2
#9639B2 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.194 H 317.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9639B2 |
|---|---|
| RGB | rgb(150, 57, 178) |
| HSL | hsl(286, 51%, 46%) |
| HSV | hsv(286, 68%, 70%) |
| CMYK | cmyk(15.7%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(42.19, 56.51, -46.84) |
| CIE-LCH | lch(42.19, 73.40, 320.35°) |
| OKLab | oklab(52.63% 0.1429 -0.1314) |
| OKLCH | oklch(52.63% 0.194 317.4) |
| XYZ | xyz(22.0755, 12.6256, 43.3850) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.33
Darkorchid
#9932CC
ΔE00 4.05
Barney
#AC1DB8
ΔE00 4.14
Medium Purple
#9E43A2
ΔE00 4.74
Ugly Purple
#A442A0
ΔE00 5.92
Warm Purple
#952E8F
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9639B2 #55B239
analogous
#5939B2 #9639B2 #B23991
triadic
#9639B2 #B29639 #39B296
tetradic
#9639B2 #B25939 #55B239 #3991B2
square
#9639B2 #B25939 #55B239 #3991B2
split-complementary
#9639B2 #91B239 #39B259
monochromatic
#481B55 #6F2A84 #9639B2 #B25DCB #C88BDA
Accessibility & contrast
On white
5.96
#9639B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#9639B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9639B2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9639B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9639B2 | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#955071
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9639b2; /* rgb */ color: rgb(150, 57, 178); /* oklch */ color: oklch(52.6% 0.194 317.4);
Tailwind
colors: {
custom: {
50: '#b877ca',
500: '#9639b2',
950: '#000000',
},
}SCSS
$custom: #9639b2; $custom-light: #b877ca; $custom-dark: #000000;
JSON
{
"hex": "#9639b2",
"rgb": {
"r": 150,
"g": 57,
"b": 178
},
"hsl": {
"h": 286.116,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.5263,
"c": 0.19413,
"h": 317.4
},
"luminance": 0.12625
}Semantic roles & 50–950 ramp
primary
#9639B2
secondary
#92C482
accent
#DB4D6E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82