#9730AB#9730AB
#9730AB is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.199 H 320.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9730AB |
|---|---|
| RGB | rgb(151, 48, 171) |
| HSL | hsl(290, 56%, 43%) |
| HSV | hsv(290, 72%, 67%) |
| CMYK | cmyk(11.7%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(40.63, 58.99, -45.18) |
| CIE-LCH | lch(40.63, 74.31, 322.55°) |
| OKLab | oklab(51.4% 0.154 -0.1265) |
| OKLCH | oklch(51.4% 0.199 320.6) |
| XYZ | xyz(21.1693, 11.6346, 39.6508) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.95
Barney
#AC1DB8
ΔE00 3.70
Medium Purple
#9E43A2
ΔE00 4.90
Warm Purple
#952E8F
ΔE00 5.14
Barney Purple
#A00498
ΔE00 5.19
Darkorchid
#9932CC
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9730AB #44AB30
analogous
#5930AB #9730AB #AB3081
triadic
#9730AB #AB9730 #30AB97
tetradic
#9730AB #AB5930 #44AB30 #3081AB
square
#9730AB #AB5930 #44AB30 #3081AB
split-complementary
#9730AB #81AB30 #30AB59
monochromatic
#43154B #6D237B #9730AB #B84CCD #CB7BDA
Accessibility & contrast
On white
6.31
#9730AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#9730AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9730AB
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9730AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9730AB | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3D63A8
Tritanopia (blue-blind)
#98476B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9730ab; /* rgb */ color: rgb(151, 48, 171); /* oklch */ color: oklch(51.4% 0.199 320.6);
Tailwind
colors: {
custom: {
50: '#b972c5',
500: '#9730ab',
950: '#000000',
},
}SCSS
$custom: #9730ab; $custom-light: #b972c5; $custom-dark: #000000;
JSON
{
"hex": "#9730ab",
"rgb": {
"r": 151,
"g": 48,
"b": 171
},
"hsl": {
"h": 290.244,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.51403,
"c": 0.19931,
"h": 320.6
},
"luminance": 0.11633
}Semantic roles & 50–950 ramp
primary
#9730AB
secondary
#81C374
accent
#DF4861
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82