#9E30AF#9E30AF

#9E30AF is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.206 H 322.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9E30AF
RGBrgb(158, 48, 175)
HSLhsl(292, 57%, 44%)
HSVhsv(292, 73%, 69%)
CMYKcmyk(9.7%, 72.6%, 0%, 31.4%)
CIE-LABlab(41.97, 61.24, -45.36)
CIE-LCHlch(41.97, 76.21, 323.47°)
OKLaboklab(52.65% 0.1621 -0.1268)
OKLCHoklch(52.65% 0.206 322)
XYZxyz(22.8945, 12.4794, 41.7520)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30AF #41AF30
analogous
#5E30AF #9E30AF #AF3080
triadic
#9E30AF #AF9E30 #30AF9E
tetradic
#9E30AF #AF5E30 #41AF30 #3080AF
square
#9E30AF #AF5E30 #41AF30 #3080AF
split-complementary
#9E30AF #80AF30 #30AF5E
monochromatic
#47164F #73237F #9E30AF #BD4ECE #CF7EDC

Accessibility & contrast

On white

6.01
#9E30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9E30AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30AF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30AF#FFFFFF#000000##FFFFFF
##9E30AF1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#A0486D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e30af;
/* rgb */ color: rgb(158, 48, 175);
/* oklch */ color: oklch(52.7% 0.206 322.0);
Tailwind
colors: {
  custom: {
    50: '#be73c7',
    500: '#9e30af',
    950: '#000000',
  },
}
SCSS
$custom: #9e30af;
$custom-light: #be73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30af",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 291.969,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52654,
    "c": 0.20576,
    "h": 322
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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