#9E30AD#9E30AD

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

Color values

HEX#9E30AD
RGBrgb(158, 48, 173)
HSLhsl(293, 57%, 43%)
HSVhsv(293, 72%, 68%)
CMYKcmyk(8.7%, 72.3%, 0%, 32.2%)
CIE-LABlab(41.85, 60.87, -44.36)
CIE-LCHlch(41.85, 75.32, 323.92°)
OKLaboklab(52.53% 0.1622 -0.1239)
OKLCHoklch(52.53% 0.204 322.6)
XYZxyz(22.6996, 12.4014, 40.7251)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30AD #3FAD30
analogous
#5F30AD #9E30AD #AD307D
triadic
#9E30AD #AD9E30 #30AD9E
tetradic
#9E30AD #AD5F30 #3FAD30 #307DAD
square
#9E30AD #AD5F30 #3FAD30 #307DAD
split-complementary
#9E30AD #7DAD30 #30AD5F
monochromatic
#46154D #72237D #9E30AD #BE4DCE #D07DDB

Accessibility & contrast

On white

6.03
#9E30AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E30AD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30AD#FFFFFF#000000##FFFFFF
##9E30AD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#4367AA
Tritanopia (blue-blind)
#A0476C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e30ad;
/* rgb */ color: rgb(158, 48, 173);
/* oklch */ color: oklch(52.5% 0.204 322.6);
Tailwind
colors: {
  custom: {
    50: '#be73c6',
    500: '#9e30ad',
    950: '#000000',
  },
}
SCSS
$custom: #9e30ad;
$custom-light: #be73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30ad",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 292.8,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.20407,
    "h": 322.6
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E30AD

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

Preview Lab → · Contrast checker → · Palette generator →

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