#9E30AE#9E30AE

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

Color values

HEX#9E30AE
RGBrgb(158, 48, 174)
HSLhsl(292, 57%, 44%)
HSVhsv(292, 72%, 68%)
CMYKcmyk(9.2%, 72.4%, 0%, 31.8%)
CIE-LABlab(41.91, 61.06, -44.86)
CIE-LCHlch(41.91, 75.76, 323.69°)
OKLaboklab(52.59% 0.1621 -0.1253)
OKLCHoklch(52.59% 0.205 322.3)
XYZxyz(22.7967, 12.4403, 41.2366)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30AE #40AE30
analogous
#5F30AE #9E30AE #AE307F
triadic
#9E30AE #AE9E30 #30AE9E
tetradic
#9E30AE #AE5F30 #40AE30 #307FAE
square
#9E30AE #AE5F30 #40AE30 #307FAE
split-complementary
#9E30AE #7FAE30 #30AE5F
monochromatic
#47164E #72237E #9E30AE #BE4DCE #CF7DDB

Accessibility & contrast

On white

6.02
#9E30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9E30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30AE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30AE#FFFFFF#000000##FFFFFF
##9E30AE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4267AB
Tritanopia (blue-blind)
#A0476C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e30ae;
/* rgb */ color: rgb(158, 48, 174);
/* oklch */ color: oklch(52.6% 0.205 322.3);
Tailwind
colors: {
  custom: {
    50: '#be73c7',
    500: '#9e30ae',
    950: '#000000',
  },
}
SCSS
$custom: #9e30ae;
$custom-light: #be73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30ae",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 292.381,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.20491,
    "h": 322.3
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#9E30AE
secondary
#80C476
accent
#E0485B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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