#9734B1#9734B1
#9734B1 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.200 H 318.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9734B1 |
|---|---|
| RGB | rgb(151, 52, 177) |
| HSL | hsl(288, 55%, 45%) |
| HSV | hsv(288, 71%, 69%) |
| CMYK | cmyk(14.7%, 70.6%, 0%, 30.6%) |
| CIE-LAB | lab(41.55, 58.59, -47.27) |
| CIE-LCH | lch(41.55, 75.28, 321.10°) |
| OKLab | oklab(52.18% 0.1495 -0.1326) |
| OKLCH | oklch(52.18% 0.2 318.4) |
| XYZ | xyz(21.9252, 12.2106, 42.7884) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.08
Barney
#AC1DB8
ΔE00 3.68
Darkorchid
#9932CC
ΔE00 4.19
Medium Purple
#9E43A2
ΔE00 5.00
Ugly Purple
#A442A0
ΔE00 6.10
Warm Purple
#952E8F
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9734B1 #4EB134
analogous
#5934B1 #9734B1 #B1348D
triadic
#9734B1 #B19734 #34B197
tetradic
#9734B1 #B15934 #4EB134 #348DB1
square
#9734B1 #B15934 #4EB134 #348DB1
split-complementary
#9734B1 #8DB134 #34B159
monochromatic
#461852 #6F2682 #9734B1 #B455CD #C984DB
Accessibility & contrast
On white
6.10
#9734B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#9734B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9734B1
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9734B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9734B1 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#974C6F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9734b1; /* rgb */ color: rgb(151, 52, 177); /* oklch */ color: oklch(52.2% 0.200 318.4);
Tailwind
colors: {
custom: {
50: '#b974c9',
500: '#9734b1',
950: '#000000',
},
}SCSS
$custom: #9734b1; $custom-light: #b974c9; $custom-dark: #000000;
JSON
{
"hex": "#9734b1",
"rgb": {
"r": 151,
"g": 52,
"b": 177
},
"hsl": {
"h": 287.52,
"s": 54.585,
"l": 44.902
},
"oklch": {
"l": 0.52179,
"c": 0.19988,
"h": 318.4
},
"luminance": 0.1221
}Semantic roles & 50–950 ramp
primary
#9734B1
secondary
#8BC57C
accent
#DE4A69
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82