#9E30AB#9E30AB

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

Color values

HEX#9E30AB
RGBrgb(158, 48, 171)
HSLhsl(294, 56%, 43%)
HSVhsv(294, 72%, 67%)
CMYKcmyk(7.6%, 71.9%, 0%, 32.9%)
CIE-LABlab(41.73, 60.51, -43.37)
CIE-LCHlch(41.73, 74.45, 324.37°)
OKLaboklab(52.41% 0.1623 -0.121)
OKLCHoklch(52.41% 0.202 323.3)
XYZxyz(22.5075, 12.3246, 39.7136)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30AB #3DAB30
analogous
#6130AB #9E30AB #AB307A
triadic
#9E30AB #AB9E30 #30AB9E
tetradic
#9E30AB #AB6130 #3DAB30 #307AAB
square
#9E30AB #AB6130 #3DAB30 #307AAB
split-complementary
#9E30AB #7AAB30 #30AB61
monochromatic
#46154B #72237B #9E30AB #BF4CCD #D07BDA

Accessibility & contrast

On white

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

On black

3.46
#9E30AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E30AB#FFFFFF#000000##FFFFFF
##9E30AB1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4467A8
Tritanopia (blue-blind)
#A1466B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e30ab;
/* rgb */ color: rgb(158, 48, 171);
/* oklch */ color: oklch(52.4% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#be73c4',
    500: '#9e30ab',
    950: '#000000',
  },
}
SCSS
$custom: #9e30ab;
$custom-light: #be73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30ab",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 293.659,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52405,
    "c": 0.20238,
    "h": 323.3
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#9E30AB
secondary
#7DC374
accent
#DF4858
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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