#9730A1#9730A1

#9730A1 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.191 H 324.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9730A1
RGBrgb(151, 48, 161)
HSLhsl(295, 54%, 41%)
HSVhsv(295, 70%, 63%)
CMYKcmyk(6.2%, 70.2%, 0%, 36.9%)
CIE-LABlab(40.03, 57.14, -40.17)
CIE-LCHlch(40.03, 69.85, 324.89°)
OKLaboklab(50.78% 0.1544 -0.1118)
OKLCHoklch(50.78% 0.191 324.1)
XYZxyz(20.2519, 11.2676, 34.8195)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730A1 #3AA130
analogous
#5E30A1 #9730A1 #A13072
triadic
#9730A1 #A19730 #30A197
tetradic
#9730A1 #A15E30 #3AA130 #3072A1
square
#9730A1 #A15E30 #3AA130 #3072A1
split-complementary
#9730A1 #72A130 #30A15E
monochromatic
#3F1443 #6B2272 #9730A1 #BC46C8 #CD75D6

Accessibility & contrast

On white

6.46
#9730A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9730A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730A1
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730A1#FFFFFF#000000##FFFFFF
##9730A11.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#44639E
Tritanopia (blue-blind)
#9A4365
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9730a1;
/* rgb */ color: rgb(151, 48, 161);
/* oklch */ color: oklch(50.8% 0.191 324.1);
Tailwind
colors: {
  custom: {
    50: '#b972bd',
    500: '#9730a1',
    950: '#000000',
  },
}
SCSS
$custom: #9730a1;
$custom-light: #b972bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9730a1",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 294.69,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.19068,
    "h": 324.1
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#9730A1
secondary
#76BE6F
accent
#DD4A57
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9730A1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9730A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva