#9D30A4#9D30A4

#9D30A4 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.196 H 325.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9D30A4
RGBrgb(157, 48, 164)
HSLhsl(296, 55%, 42%)
HSVhsv(296, 71%, 64%)
CMYKcmyk(4.3%, 70.7%, 0%, 35.7%)
CIE-LABlab(41.16, 59.04, -40.11)
CIE-LCHlch(41.16, 71.38, 325.81°)
OKLaboklab(51.83% 0.1613 -0.1115)
OKLCHoklch(51.83% 0.196 325.3)
XYZxyz(21.6619, 11.9637, 36.2830)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30A4 #37A430
analogous
#6330A4 #9D30A4 #A43071
triadic
#9D30A4 #A49D30 #30A49D
tetradic
#9D30A4 #A46330 #37A430 #3071A4
square
#9D30A4 #A46330 #37A430 #3071A4
split-complementary
#9D30A4 #71A430 #30A463
monochromatic
#421445 #702275 #9D30A4 #C248C9 #D177D7

Accessibility & contrast

On white

6.19
#9D30A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9D30A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30A4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30A4#FFFFFF#000000##FFFFFF
##9D30A41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1358A7
Deuteranopia (green-blind)
#4866A1
Tritanopia (blue-blind)
#A14367
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d30a4;
/* rgb */ color: rgb(157, 48, 164);
/* oklch */ color: oklch(51.8% 0.196 325.3);
Tailwind
colors: {
  custom: {
    50: '#bd73bf',
    500: '#9d30a4',
    950: '#000000',
  },
}
SCSS
$custom: #9d30a4;
$custom-light: #bd73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30a4",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 296.379,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.19607,
    "h": 325.3
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#9D30A4
secondary
#75BF70
accent
#DE4A53
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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