#9E30BF#9E30BF

#9E30BF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.219 H 317.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9E30BF
RGBrgb(158, 48, 191)
HSLhsl(286, 60%, 47%)
HSVhsv(286, 75%, 75%)
CMYKcmyk(17.3%, 74.9%, 0%, 25.1%)
CIE-LABlab(42.98, 64.24, -53.14)
CIE-LCHlch(42.98, 83.37, 320.40°)
OKLaboklab(53.7% 0.1606 -0.1496)
OKLCHoklch(53.7% 0.219 317)
XYZxyz(24.5601, 13.1456, 50.5238)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30BF #51BF30
analogous
#5730BF #9E30BF #BF3099
triadic
#9E30BF #BF9E30 #30BF9E
tetradic
#9E30BF #BF5730 #51BF30 #3099BF
square
#9E30BF #BF5730 #51BF30 #3099BF
split-complementary
#9E30BF #99BF30 #30BF57
monochromatic
#4D175D #76248E #9E30BF #B857D5 #CD88E1

Accessibility & contrast

On white

5.79
#9E30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9E30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30BF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30BF#FFFFFF#000000##FFFFFF
##9E30BF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#9C4F76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e30bf;
/* rgb */ color: rgb(158, 48, 191);
/* oklch */ color: oklch(53.7% 0.219 317.0);
Tailwind
colors: {
  custom: {
    50: '#bf74d3',
    500: '#9e30bf',
    950: '#000000',
  },
}
SCSS
$custom: #9e30bf;
$custom-light: #bf74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30bf",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 286.154,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.21947,
    "h": 317
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#9E30BF
secondary
#91CB80
accent
#E34569
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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