#9638C6#9638C6
#9638C6 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.214 H 311.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9638C6 |
|---|---|
| RGB | rgb(150, 56, 198) |
| HSL | hsl(280, 56%, 50%) |
| HSV | hsv(280, 72%, 78%) |
| CMYK | cmyk(24.2%, 71.7%, 0%, 22.4%) |
| CIE-LAB | lab(43.35, 61.03, -56.70) |
| CIE-LCH | lch(43.35, 83.30, 317.11°) |
| OKLab | oklab(53.87% 0.1421 -0.1603) |
| OKLCH | oklch(53.87% 0.214 311.6) |
| XYZ | xyz(24.1830, 13.3902, 54.7258) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.10
Purply
#983FB2
ΔE00 3.66
Vibrant Purple
#AD03DE
ΔE00 4.78
Blueviolet
#8A2BE2
ΔE00 5.04
Darkviolet
#9400D3
ΔE00 5.18
Barney
#AC1DB8
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9638C6 #68C638
analogous
#4F38C6 #9638C6 #C638AF
triadic
#9638C6 #C69638 #38C696
tetradic
#9638C6 #C64F38 #68C638 #38AFC6
square
#9638C6 #C64F38 #68C638 #38AFC6
split-complementary
#9638C6 #AFC638 #38C64F
monochromatic
#4E1D67 #722B96 #9638C6 #AF67D4 #C897E2
Accessibility & contrast
On white
5.71
#9638C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#9638C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9638C6
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9638C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9638C6 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#2468C3
Tritanopia (blue-blind)
#90577C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9638c6; /* rgb */ color: rgb(150, 56, 198); /* oklch */ color: oklch(53.9% 0.214 311.6);
Tailwind
colors: {
custom: {
50: '#b977d8',
500: '#9638c6',
950: '#000000',
},
}SCSS
$custom: #9638c6; $custom-light: #b977d8; $custom-dark: #000000;
JSON
{
"hex": "#9638c6",
"rgb": {
"r": 150,
"g": 56,
"b": 198
},
"hsl": {
"h": 279.718,
"s": 55.906,
"l": 49.804
},
"oklch": {
"l": 0.53867,
"c": 0.21422,
"h": 311.6
},
"luminance": 0.1339
}Semantic roles & 50–950 ramp
primary
#9638C6
secondary
#A2CD8D
accent
#DF497C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120915
muted
#817B83