#9737B5#9737B5
#9737B5 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.200 H 317.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9737B5 |
|---|---|
| RGB | rgb(151, 55, 181) |
| HSL | hsl(286, 53%, 46%) |
| HSV | hsv(286, 70%, 71%) |
| CMYK | cmyk(16.6%, 69.6%, 0%, 29%) |
| CIE-LAB | lab(42.23, 58.17, -48.54) |
| CIE-LCH | lch(42.23, 75.76, 320.15°) |
| OKLab | oklab(52.75% 0.1461 -0.1363) |
| OKLCH | oklch(52.75% 0.2 317) |
| XYZ | xyz(22.4679, 12.6488, 44.9651) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.67
Darkorchid
#9932CC
ΔE00 3.55
Barney
#AC1DB8
ΔE00 3.91
Medium Purple
#9E43A2
ΔE00 5.18
Ugly Purple
#A442A0
ΔE00 6.31
Vibrant Purple
#AD03DE
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9737B5 #55B537
analogous
#5837B5 #9737B5 #B53794
triadic
#9737B5 #B59737 #37B597
tetradic
#9737B5 #B55837 #55B537 #3794B5
square
#9737B5 #B55837 #55B537 #3794B5
split-complementary
#9737B5 #94B537 #37B558
monochromatic
#491A57 #702986 #9737B5 #B25CCD #C88BDC
Accessibility & contrast
On white
5.95
#9737B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#9737B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9737B5
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9737B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9737B5 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3967B2
Tritanopia (blue-blind)
#965072
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9737b5; /* rgb */ color: rgb(151, 55, 181); /* oklch */ color: oklch(52.7% 0.200 317.0);
Tailwind
colors: {
custom: {
50: '#b976cc',
500: '#9737b5',
950: '#000000',
},
}SCSS
$custom: #9737b5; $custom-light: #b976cc; $custom-dark: #000000;
JSON
{
"hex": "#9737b5",
"rgb": {
"r": 151,
"g": 55,
"b": 181
},
"hsl": {
"h": 285.714,
"s": 53.39,
"l": 46.275
},
"oklch": {
"l": 0.52746,
"c": 0.19986,
"h": 317
},
"luminance": 0.12648
}Semantic roles & 50–950 ramp
primary
#9737B5
secondary
#92C682
accent
#DD4B6E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82