#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
RGBrgb(151, 48, 170)
HSLhsl(291, 56%, 43%)
HSVhsv(291, 72%, 67%)
CMYKcmyk(11.2%, 71.8%, 0%, 33.3%)
CIE-LABlab(40.57, 58.80, -44.69)
CIE-LCHlch(40.57, 73.86, 322.77°)
OKLaboklab(51.34% 0.1541 -0.125)
OKLCHoklch(51.34% 0.198 320.9)
XYZxyz(21.0743, 11.5966, 39.1507)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##9730AA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.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

Preview Lab

Preview with #9730AA

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

Preview Lab → · Contrast checker → · Palette generator →

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