#9E30B2#9E30B2

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

Color values

HEX#9E30B2
RGBrgb(158, 48, 178)
HSLhsl(291, 58%, 44%)
HSVhsv(291, 73%, 70%)
CMYKcmyk(11.2%, 73%, 0%, 30.2%)
CIE-LABlab(42.15, 61.79, -46.84)
CIE-LCHlch(42.15, 77.53, 322.84°)
OKLaboklab(52.84% 0.1619 -0.1311)
OKLCHoklch(52.84% 0.208 321)
XYZxyz(23.1925, 12.5986, 43.3210)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30B2 #44B230
analogous
#5D30B2 #9E30B2 #B23085
triadic
#9E30B2 #B29E30 #30B29E
tetradic
#9E30B2 #B25D30 #44B230 #3085B2
square
#9E30B2 #B25D30 #44B230 #3085B2
split-complementary
#9E30B2 #85B230 #30B25D
monochromatic
#481652 #732382 #9E30B2 #BC50D0 #CE80DD

Accessibility & contrast

On white

5.97
#9E30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9E30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30B2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30B2#FFFFFF#000000##FFFFFF
##9E30B21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3F67AF
Tritanopia (blue-blind)
#9F496E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e30b2;
/* rgb */ color: rgb(158, 48, 178);
/* oklch */ color: oklch(52.8% 0.208 321.0);
Tailwind
colors: {
  custom: {
    50: '#be73ca',
    500: '#9e30b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e30b2;
$custom-light: #be73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30b2",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 290.769,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.20831,
    "h": 321
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#9E30B2
secondary
#84C678
accent
#E1475F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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