#9738B2#9738B2
#9738B2 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.196 H 317.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9738B2 |
|---|---|
| RGB | rgb(151, 56, 178) |
| HSL | hsl(287, 52%, 46%) |
| HSV | hsv(287, 69%, 70%) |
| CMYK | cmyk(15.2%, 68.5%, 0%, 30.2%) |
| CIE-LAB | lab(42.19, 57.16, -46.84) |
| CIE-LCH | lch(42.19, 73.90, 320.67°) |
| OKLab | oklab(52.66% 0.1452 -0.1314) |
| OKLCH | oklch(52.66% 0.196 317.9) |
| XYZ | xyz(22.2114, 12.6230, 43.3773) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.40
Barney
#AC1DB8
ΔE00 3.92
Darkorchid
#9932CC
ΔE00 4.07
Medium Purple
#9E43A2
ΔE00 4.69
Ugly Purple
#A442A0
ΔE00 5.85
Warm Purple
#952E8F
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9738B2 #53B238
analogous
#5A38B2 #9738B2 #B23890
triadic
#9738B2 #B29738 #38B297
tetradic
#9738B2 #B25A38 #53B238 #3890B2
square
#9738B2 #B25A38 #53B238 #3890B2
split-complementary
#9738B2 #90B238 #38B25A
monochromatic
#481B55 #702983 #9738B2 #B35CCC #C98ADA
Accessibility & contrast
On white
5.96
#9738B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#9738B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9738B2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9738B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9738B2 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 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)
#3D67AF
Tritanopia (blue-blind)
#964F71
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9738b2; /* rgb */ color: rgb(151, 56, 178); /* oklch */ color: oklch(52.7% 0.196 317.9);
Tailwind
colors: {
custom: {
50: '#b976ca',
500: '#9738b2',
950: '#000000',
},
}SCSS
$custom: #9738b2; $custom-light: #b976ca; $custom-dark: #000000;
JSON
{
"hex": "#9738b2",
"rgb": {
"r": 151,
"g": 56,
"b": 178
},
"hsl": {
"h": 286.721,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.52658,
"c": 0.19582,
"h": 317.9
},
"luminance": 0.12622
}Semantic roles & 50–950 ramp
primary
#9738B2
secondary
#90C581
accent
#DC4C6C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82