#9730AC#9730AC

#9730AC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.200 H 320.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9730AC
RGBrgb(151, 48, 172)
HSLhsl(290, 56%, 43%)
HSVhsv(290, 72%, 67%)
CMYKcmyk(12.2%, 72.1%, 0%, 32.5%)
CIE-LABlab(40.69, 59.18, -45.68)
CIE-LCHlch(40.69, 74.76, 322.33°)
OKLaboklab(51.47% 0.154 -0.1279)
OKLCHoklch(51.47% 0.2 320.3)
XYZxyz(21.2649, 11.6729, 40.1547)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730AC #45AC30
analogous
#5930AC #9730AC #AC3083
triadic
#9730AC #AC9730 #30AC97
tetradic
#9730AC #AC5930 #45AC30 #3083AC
square
#9730AC #AC5930 #45AC30 #3083AC
split-complementary
#9730AC #83AC30 #30AC59
monochromatic
#43154C #6D237C #9730AC #B74CCD #CA7CDA

Accessibility & contrast

On white

6.30
#9730AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9730AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730AC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730AC#FFFFFF#000000##FFFFFF
##9730AC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#3C64A9
Tritanopia (blue-blind)
#98486B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9730ac;
/* rgb */ color: rgb(151, 48, 172);
/* oklch */ color: oklch(51.5% 0.200 320.3);
Tailwind
colors: {
  custom: {
    50: '#b972c5',
    500: '#9730ac',
    950: '#000000',
  },
}
SCSS
$custom: #9730ac;
$custom-light: #b972c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9730ac",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 289.839,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.20019,
    "h": 320.3
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#9730AC
secondary
#82C375
accent
#E04862
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9730AC

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

Preview Lab → · Contrast checker → · Palette generator →

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