#9739B2#9739B2
#9739B2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.195 H 317.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9739B2 |
|---|---|
| RGB | rgb(151, 57, 178) |
| HSL | hsl(287, 51%, 46%) |
| HSV | hsv(287, 68%, 70%) |
| CMYK | cmyk(15.2%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(42.34, 56.74, -46.60) |
| CIE-LCH | lch(42.34, 73.42, 320.61°) |
| OKLab | oklab(52.76% 0.1441 -0.1307) |
| OKLCH | oklch(52.76% 0.195 317.8) |
| XYZ | xyz(22.2604, 12.7209, 43.3937) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.22
Barney
#AC1DB8
ΔE00 4.00
Darkorchid
#9932CC
ΔE00 4.10
Medium Purple
#9E43A2
ΔE00 4.59
Ugly Purple
#A442A0
ΔE00 5.76
Warm Purple
#952E8F
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9739B2 #54B239
analogous
#5B39B2 #9739B2 #B23990
triadic
#9739B2 #B29739 #39B297
tetradic
#9739B2 #B25B39 #54B239 #3990B2
square
#9739B2 #B25B39 #54B239 #3990B2
split-complementary
#9739B2 #90B239 #39B25B
monochromatic
#481B55 #702A84 #9739B2 #B35DCB #C88BDA
Accessibility & contrast
On white
5.93
#9739B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#9739B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9739B2
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9739B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9739B2 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#3D67AF
Tritanopia (blue-blind)
#965071
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9739b2; /* rgb */ color: rgb(151, 57, 178); /* oklch */ color: oklch(52.8% 0.195 317.8);
Tailwind
colors: {
custom: {
50: '#b977ca',
500: '#9739b2',
950: '#000000',
},
}SCSS
$custom: #9739b2; $custom-light: #b977ca; $custom-dark: #000000;
JSON
{
"hex": "#9739b2",
"rgb": {
"r": 151,
"g": 57,
"b": 178
},
"hsl": {
"h": 286.612,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.52765,
"c": 0.19455,
"h": 317.8
},
"luminance": 0.1272
}Semantic roles & 50–950 ramp
primary
#9739B2
secondary
#91C482
accent
#DB4D6D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82