#9730AA#9730AA
#9730AA is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.198 H 320.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9730AA |
|---|---|
| RGB | rgb(151, 48, 170) |
| HSL | hsl(291, 56%, 43%) |
| HSV | hsv(291, 72%, 67%) |
| CMYK | cmyk(11.2%, 71.8%, 0%, 33.3%) |
| CIE-LAB | lab(40.57, 58.80, -44.69) |
| CIE-LCH | lch(40.57, 73.86, 322.77°) |
| OKLab | oklab(51.34% 0.1541 -0.125) |
| OKLCH | oklch(51.34% 0.198 320.9) |
| XYZ | xyz(21.0743, 11.5966, 39.1507) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.02
Barney
#AC1DB8
ΔE00 3.75
Medium Purple
#9E43A2
ΔE00 4.82
Warm Purple
#952E8F
ΔE00 4.96
Barney Purple
#A00498
ΔE00 5.06
Darkorchid
#9932CC
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9730AA #43AA30
analogous
#5A30AA #9730AA #AA3080
triadic
#9730AA #AA9730 #30AA97
tetradic
#9730AA #AA5A30 #43AA30 #3080AA
square
#9730AA #AA5A30 #43AA30 #3080AA
split-complementary
#9730AA #80AA30 #30AA5A
monochromatic
#42154B #6D237A #9730AA #B84BCC #CB7BDA
Accessibility & contrast
On white
6.33
#9730AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9730AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9730AA
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9730AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9730AA | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#3E63A7
Tritanopia (blue-blind)
#98476A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9730aa; /* rgb */ color: rgb(151, 48, 170); /* oklch */ color: oklch(51.3% 0.198 320.9);
Tailwind
colors: {
custom: {
50: '#b972c4',
500: '#9730aa',
950: '#000000',
},
}SCSS
$custom: #9730aa; $custom-light: #b972c4; $custom-dark: #000000;
JSON
{
"hex": "#9730aa",
"rgb": {
"r": 151,
"g": 48,
"b": 170
},
"hsl": {
"h": 290.656,
"s": 55.963,
"l": 42.745
},
"oklch": {
"l": 0.51339,
"c": 0.19844,
"h": 320.9
},
"luminance": 0.11595
}Semantic roles & 50–950 ramp
primary
#9730AA
secondary
#80C274
accent
#DF4960
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82