#9D30AE#9D30AE

#9D30AE is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.204 H 321.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D30AE
RGBrgb(157, 48, 174)
HSLhsl(292, 57%, 44%)
HSVhsv(292, 72%, 68%)
CMYKcmyk(9.8%, 72.4%, 0%, 31.8%)
CIE-LABlab(41.75, 60.84, -45.12)
CIE-LCHlch(41.75, 75.75, 323.44°)
OKLaboklab(52.45% 0.161 -0.1261)
OKLCHoklch(52.45% 0.204 321.9)
XYZxyz(22.6007, 12.3393, 41.2275)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30AE #41AE30
analogous
#5E30AE #9D30AE #AE3080
triadic
#9D30AE #AE9D30 #30AE9D
tetradic
#9D30AE #AE5E30 #41AE30 #3080AE
square
#9D30AE #AE5E30 #41AE30 #3080AE
split-complementary
#9D30AE #80AE30 #30AE5E
monochromatic
#46164E #72237E #9D30AE #BD4DCE #CF7DDB

Accessibility & contrast

On white

6.06
#9D30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9D30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30AE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30AE#FFFFFF#000000##FFFFFF
##9D30AE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4167AB
Tritanopia (blue-blind)
#9F476C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d30ae;
/* rgb */ color: rgb(157, 48, 174);
/* oklch */ color: oklch(52.4% 0.204 321.9);
Tailwind
colors: {
  custom: {
    50: '#be73c7',
    500: '#9d30ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d30ae;
$custom-light: #be73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30ae",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 291.905,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.20448,
    "h": 321.9
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#9D30AE
secondary
#80C476
accent
#E0485C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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