#9E30B1#9E30B1

#9E30B1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.207 H 321.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9E30B1
RGBrgb(158, 48, 177)
HSLhsl(291, 57%, 44%)
HSVhsv(291, 73%, 69%)
CMYKcmyk(10.7%, 72.9%, 0%, 30.6%)
CIE-LABlab(42.09, 61.60, -46.34)
CIE-LCHlch(42.09, 77.09, 323.05°)
OKLaboklab(52.78% 0.1619 -0.1297)
OKLCHoklch(52.78% 0.207 321.3)
XYZxyz(23.0924, 12.5586, 42.7941)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30B1 #43B130
analogous
#5E30B1 #9E30B1 #B13084
triadic
#9E30B1 #B19E30 #30B19E
tetradic
#9E30B1 #B15E30 #43B130 #3084B1
square
#9E30B1 #B15E30 #43B130 #3084B1
split-complementary
#9E30B1 #84B130 #30B15E
monochromatic
#481651 #732381 #9E30B1 #BC4FCF #CF7FDC

Accessibility & contrast

On white

5.98
#9E30B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9E30B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30B1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30B1#FFFFFF#000000##FFFFFF
##9E30B11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4067AE
Tritanopia (blue-blind)
#9F486E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e30b1;
/* rgb */ color: rgb(158, 48, 177);
/* oklch */ color: oklch(52.8% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#be73c9',
    500: '#9e30b1',
    950: '#000000',
  },
}
SCSS
$custom: #9e30b1;
$custom-light: #be73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30b1",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 291.163,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.20745,
    "h": 321.3
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#9E30B1
secondary
#83C578
accent
#E1475E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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