#9E30BC#9E30BC

#9E30BC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.217 H 317.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9E30BC
RGBrgb(158, 48, 188)
HSLhsl(287, 59%, 46%)
HSVhsv(287, 74%, 74%)
CMYKcmyk(16%, 74.5%, 0%, 26.3%)
CIE-LABlab(42.79, 63.66, -51.70)
CIE-LCHlch(42.79, 82.01, 320.92°)
OKLaboklab(53.5% 0.161 -0.1453)
OKLCHoklch(53.5% 0.217 317.9)
XYZxyz(24.2333, 13.0149, 48.8029)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30BC #4EBC30
analogous
#5830BC #9E30BC #BC3094
triadic
#9E30BC #BC9E30 #30BC9E
tetradic
#9E30BC #BC5830 #4EBC30 #3094BC
square
#9E30BC #BC5830 #4EBC30 #3094BC
split-complementary
#9E30BC #94BC30 #30BC58
monochromatic
#4C175A #75248B #9E30BC #B955D4 #CD86E0

Accessibility & contrast

On white

5.83
#9E30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9E30BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30BC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30BC#FFFFFF#000000##FFFFFF
##9E30BC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3668B9
Tritanopia (blue-blind)
#9D4D74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e30bc;
/* rgb */ color: rgb(158, 48, 188);
/* oklch */ color: oklch(53.5% 0.217 317.9);
Tailwind
colors: {
  custom: {
    50: '#bf74d1',
    500: '#9e30bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e30bc;
$custom-light: #bf74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30bc",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 287.143,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.21687,
    "h": 317.9
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#9E30BC
secondary
#8ECA7E
accent
#E34567
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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