#9D30AF#9D30AF

#9D30AF is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.205 H 321.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D30AF
RGBrgb(157, 48, 175)
HSLhsl(291, 57%, 44%)
HSVhsv(291, 73%, 69%)
CMYKcmyk(10.3%, 72.6%, 0%, 31.4%)
CIE-LABlab(41.81, 61.02, -45.62)
CIE-LCHlch(41.81, 76.19, 323.22°)
OKLaboklab(52.51% 0.1609 -0.1276)
OKLCHoklch(52.51% 0.205 321.6)
XYZxyz(22.6986, 12.3784, 41.7428)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30AF #42AF30
analogous
#5D30AF #9D30AF #AF3081
triadic
#9D30AF #AF9D30 #30AF9D
tetradic
#9D30AF #AF5D30 #42AF30 #3081AF
square
#9D30AF #AF5D30 #42AF30 #3081AF
split-complementary
#9D30AF #81AF30 #30AF5D
monochromatic
#47164F #72237F #9D30AF #BC4ECE #CE7EDC

Accessibility & contrast

On white

6.04
#9D30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9D30AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30AF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30AF#FFFFFF#000000##FFFFFF
##9D30AF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4067AC
Tritanopia (blue-blind)
#9F486D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d30af;
/* rgb */ color: rgb(157, 48, 175);
/* oklch */ color: oklch(52.5% 0.205 321.6);
Tailwind
colors: {
  custom: {
    50: '#be73c7',
    500: '#9d30af',
    950: '#000000',
  },
}
SCSS
$custom: #9d30af;
$custom-light: #be73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30af",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 291.496,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.20533,
    "h": 321.6
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#9D30AF
secondary
#82C476
accent
#E0485D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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