#9E30BB#9E30BB

#9E30BB is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.216 H 318.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9E30BB
RGBrgb(158, 48, 187)
HSLhsl(287, 59%, 46%)
HSVhsv(287, 74%, 73%)
CMYKcmyk(15.5%, 74.3%, 0%, 26.7%)
CIE-LABlab(42.72, 63.47, -51.22)
CIE-LCHlch(42.72, 81.56, 321.10°)
OKLaboklab(53.43% 0.1611 -0.1439)
OKLCHoklch(53.43% 0.216 318.2)
XYZxyz(24.1259, 12.9720, 48.2371)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30BB #4DBB30
analogous
#5830BB #9E30BB #BB3092
triadic
#9E30BB #BB9E30 #30BB9E
tetradic
#9E30BB #BB5830 #4DBB30 #3092BB
square
#9E30BB #BB5830 #4DBB30 #3092BB
split-complementary
#9E30BB #92BB30 #30BB58
monochromatic
#4C175A #75238A #9E30BB #B955D3 #CD86E0

Accessibility & contrast

On white

5.84
#9E30BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9E30BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30BB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30BB#FFFFFF#000000##FFFFFF
##9E30BB1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#3768B8
Tritanopia (blue-blind)
#9D4D74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e30bb;
/* rgb */ color: rgb(158, 48, 187);
/* oklch */ color: oklch(53.4% 0.216 318.2);
Tailwind
colors: {
  custom: {
    50: '#bf74d0',
    500: '#9e30bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e30bb;
$custom-light: #bf74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30bb",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 287.482,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5343,
    "c": 0.21601,
    "h": 318.2
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#9E30BB
secondary
#8DC97D
accent
#E24566
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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