#9E30BD#9E30BD

#9E30BD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.218 H 317.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9E30BD
RGBrgb(158, 48, 189)
HSLhsl(287, 59%, 46%)
HSVhsv(287, 75%, 74%)
CMYKcmyk(16.4%, 74.6%, 0%, 25.9%)
CIE-LABlab(42.85, 63.85, -52.19)
CIE-LCHlch(42.85, 82.47, 320.74°)
OKLaboklab(53.56% 0.1609 -0.1468)
OKLCHoklch(53.56% 0.218 317.6)
XYZxyz(24.3415, 13.0582, 49.3725)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30BD #4FBD30
analogous
#5830BD #9E30BD #BD3096
triadic
#9E30BD #BD9E30 #30BD9E
tetradic
#9E30BD #BD5830 #4FBD30 #3096BD
square
#9E30BD #BD5830 #4FBD30 #3096BD
split-complementary
#9E30BD #96BD30 #30BD58
monochromatic
#4C175B #75248C #9E30BD #B856D4 #CD87E0

Accessibility & contrast

On white

5.81
#9E30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9E30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30BD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30BD#FFFFFF#000000##FFFFFF
##9E30BD1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3568BA
Tritanopia (blue-blind)
#9D4E75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e30bd;
/* rgb */ color: rgb(158, 48, 189);
/* oklch */ color: oklch(53.6% 0.218 317.6);
Tailwind
colors: {
  custom: {
    50: '#bf74d2',
    500: '#9e30bd',
    950: '#000000',
  },
}
SCSS
$custom: #9e30bd;
$custom-light: #bf74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30bd",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 286.809,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.21774,
    "h": 317.6
  },
  "luminance": 0.13057
}

Semantic roles & 50–950 ramp

primary
#9E30BD
secondary
#8FCA7F
accent
#E34568
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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