#9D30A9#9D30A9

#9D30A9 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.200 H 323.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9D30A9
RGBrgb(157, 48, 169)
HSLhsl(294, 56%, 43%)
HSVhsv(294, 72%, 66%)
CMYKcmyk(7.1%, 71.6%, 0%, 33.7%)
CIE-LABlab(41.45, 59.93, -42.63)
CIE-LCHlch(41.45, 73.55, 324.58°)
OKLaboklab(52.14% 0.1612 -0.1188)
OKLCHoklch(52.14% 0.2 323.6)
XYZxyz(22.1224, 12.1479, 38.7080)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30A9 #3CA930
analogous
#6130A9 #9D30A9 #A93078
triadic
#9D30A9 #A99D30 #30A99D
tetradic
#9D30A9 #A96130 #3CA930 #3078A9
square
#9D30A9 #A96130 #3CA930 #3078A9
split-complementary
#9D30A9 #78A930 #30A961
monochromatic
#44154A #712279 #9D30A9 #BF4ACC #D07AD9

Accessibility & contrast

On white

6.12
#9D30A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9D30A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30A9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30A9#FFFFFF#000000##FFFFFF
##9D30A91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045AAC
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#A04569
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d30a9;
/* rgb */ color: rgb(157, 48, 169);
/* oklch */ color: oklch(52.1% 0.200 323.6);
Tailwind
colors: {
  custom: {
    50: '#bd73c3',
    500: '#9d30a9',
    950: '#000000',
  },
}
SCSS
$custom: #9d30a9;
$custom-light: #bd73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30a9",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 294.05,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.20025,
    "h": 323.6
  },
  "luminance": 0.12147
}

Semantic roles & 50–950 ramp

primary
#9D30A9
secondary
#7BC273
accent
#DF4958
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9D30A9

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

Preview Lab → · Contrast checker → · Palette generator →

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