#9E3BBB#9E3BBB

#9E3BBB is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.5% C 0.203 H 317.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9E3BBB
RGBrgb(158, 59, 187)
HSLhsl(286, 52%, 48%)
HSVhsv(286, 68%, 73%)
CMYKcmyk(15.5%, 68.4%, 0%, 26.7%)
CIE-LABlab(44.21, 59.25, -48.83)
CIE-LCHlch(44.21, 76.77, 320.51°)
OKLaboklab(54.49% 0.1501 -0.137)
OKLCHoklch(54.49% 0.203 317.6)
XYZxyz(24.6329, 13.9859, 48.4061)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BBB #58BB3B
analogous
#5E3BBB #9E3BBB #BB3B98
triadic
#9E3BBB #BB9E3B #3BBB9E
tetradic
#9E3BBB #BB5E3B #58BB3B #3B98BB
square
#9E3BBB #BB5E3B #58BB3B #3B98BB
split-complementary
#9E3BBB #98BB3B #3BBB5E
monochromatic
#4F1E5E #772C8C #9E3BBB #B665CE #CC93DD

Accessibility & contrast

On white

5.53
#9E3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9E3BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3BBB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3BBB#FFFFFF#000000##FFFFFF
##9E3BBB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#9D5377
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e3bbb;
/* rgb */ color: rgb(158, 59, 187);
/* oklch */ color: oklch(54.5% 0.203 317.6);
Tailwind
colors: {
  custom: {
    50: '#be79d0',
    500: '#9e3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bbb;
$custom-light: #be79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bbb",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 286.406,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.20319,
    "h": 317.6
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#9E3BBB
secondary
#98C88A
accent
#DB4C6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9E3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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