#9D30AC#9D30AC

#9D30AC is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.203 H 322.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9D30AC
RGBrgb(157, 48, 172)
HSLhsl(293, 56%, 43%)
HSVhsv(293, 72%, 67%)
CMYKcmyk(8.7%, 72.1%, 0%, 32.5%)
CIE-LABlab(41.63, 60.48, -44.13)
CIE-LCHlch(41.63, 74.86, 323.88°)
OKLaboklab(52.32% 0.1611 -0.1232)
OKLCHoklch(52.32% 0.203 322.6)
XYZxyz(22.4072, 12.2618, 40.2083)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30AC #3FAC30
analogous
#5F30AC #9D30AC #AC307D
triadic
#9D30AC #AC9D30 #30AC9D
tetradic
#9D30AC #AC5F30 #3FAC30 #307DAC
square
#9D30AC #AC5F30 #3FAC30 #307DAC
split-complementary
#9D30AC #7DAC30 #30AC5F
monochromatic
#46154C #71237C #9D30AC #BD4CCD #CF7CDA

Accessibility & contrast

On white

6.08
#9D30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9D30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30AC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30AC#FFFFFF#000000##FFFFFF
##9D30AC1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#9F466B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d30ac;
/* rgb */ color: rgb(157, 48, 172);
/* oklch */ color: oklch(52.3% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#be73c5',
    500: '#9d30ac',
    950: '#000000',
  },
}
SCSS
$custom: #9d30ac;
$custom-light: #be73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30ac",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 292.742,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52323,
    "c": 0.20278,
    "h": 322.6
  },
  "luminance": 0.12261
}

Semantic roles & 50–950 ramp

primary
#9D30AC
secondary
#7EC375
accent
#E0485A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D30AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9D30AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva