#9E30AA#9E30AA

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

Color values

HEX#9E30AA
RGBrgb(158, 48, 170)
HSLhsl(294, 56%, 43%)
HSVhsv(294, 72%, 67%)
CMYKcmyk(7.1%, 71.8%, 0%, 33.3%)
CIE-LABlab(41.67, 60.33, -42.87)
CIE-LCHlch(41.67, 74.01, 324.61°)
OKLaboklab(52.34% 0.1623 -0.1195)
OKLCHoklch(52.34% 0.202 323.6)
XYZxyz(22.4125, 12.2866, 39.2135)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30AA #3CAA30
analogous
#6130AA #9E30AA #AA3079
triadic
#9E30AA #AA9E30 #30AA9E
tetradic
#9E30AA #AA6130 #3CAA30 #3079AA
square
#9E30AA #AA6130 #3CAA30 #3079AA
split-complementary
#9E30AA #79AA30 #30AA61
monochromatic
#45154B #72237A #9E30AA #BF4BCC #D07BDA

Accessibility & contrast

On white

6.07
#9E30AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E30AA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30AA#FFFFFF#000000##FFFFFF
##9E30AA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035AAD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#A1456A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e30aa;
/* rgb */ color: rgb(158, 48, 170);
/* oklch */ color: oklch(52.3% 0.202 323.6);
Tailwind
colors: {
  custom: {
    50: '#be73c4',
    500: '#9e30aa',
    950: '#000000',
  },
}
SCSS
$custom: #9e30aa;
$custom-light: #be73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30aa",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 294.098,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.20155,
    "h": 323.6
  },
  "luminance": 0.12285
}

Semantic roles & 50–950 ramp

primary
#9E30AA
secondary
#7BC274
accent
#DF4957
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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