#9738B5#9738B5
#9738B5 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.199 H 316.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9738B5 |
|---|---|
| RGB | rgb(151, 56, 181) |
| HSL | hsl(286, 53%, 46%) |
| HSV | hsv(286, 69%, 71%) |
| CMYK | cmyk(16.6%, 69.1%, 0%, 29%) |
| CIE-LAB | lab(42.38, 57.75, -48.31) |
| CIE-LCH | lch(42.38, 75.29, 320.09°) |
| OKLab | oklab(52.85% 0.1451 -0.1357) |
| OKLCH | oklch(52.85% 0.199 316.9) |
| XYZ | xyz(22.5159, 12.7448, 44.9811) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.51
Darkorchid
#9932CC
ΔE00 3.57
Barney
#AC1DB8
ΔE00 3.98
Medium Purple
#9E43A2
ΔE00 5.08
Ugly Purple
#A442A0
ΔE00 6.23
Vibrant Purple
#AD03DE
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9738B5 #56B538
analogous
#5938B5 #9738B5 #B53895
triadic
#9738B5 #B59738 #38B597
tetradic
#9738B5 #B55938 #56B538 #3895B5
square
#9738B5 #B55938 #56B538 #3895B5
split-complementary
#9738B5 #95B538 #38B559
monochromatic
#491B58 #702A86 #9738B5 #B25DCD #C88CDB
Accessibility & contrast
On white
5.92
#9738B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#9738B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9738B5
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9738B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9738B5 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#965072
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9738b5; /* rgb */ color: rgb(151, 56, 181); /* oklch */ color: oklch(52.9% 0.199 316.9);
Tailwind
colors: {
custom: {
50: '#b976cc',
500: '#9738b5',
950: '#000000',
},
}SCSS
$custom: #9738b5; $custom-light: #b976cc; $custom-dark: #000000;
JSON
{
"hex": "#9738b5",
"rgb": {
"r": 151,
"g": 56,
"b": 181
},
"hsl": {
"h": 285.6,
"s": 52.743,
"l": 46.471
},
"oklch": {
"l": 0.52851,
"c": 0.19862,
"h": 316.9
},
"luminance": 0.12744
}Semantic roles & 50–950 ramp
primary
#9738B5
secondary
#93C683
accent
#DC4C6E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82