#9E3BB3#9E3BB3

#9E3BB3 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.196 H 320.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9E3BB3
RGBrgb(158, 59, 179)
HSLhsl(290, 50%, 47%)
HSVhsv(290, 67%, 70%)
CMYKcmyk(11.7%, 67%, 0%, 29.8%)
CIE-LABlab(43.73, 57.69, -44.90)
CIE-LCHlch(43.73, 73.10, 322.10°)
OKLaboklab(53.99% 0.1504 -0.1255)
OKLCHoklch(53.99% 0.196 320.1)
XYZxyz(23.8002, 13.6529, 44.0207)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BB3 #50B33B
analogous
#623BB3 #9E3BB3 #B33B8C
triadic
#9E3BB3 #B39E3B #3BB39E
tetradic
#9E3BB3 #B3623B #50B33B #3B8CB3
square
#9E3BB3 #B3623B #50B33B #3B8CB3
split-complementary
#9E3BB3 #8CB33B #3BB362
monochromatic
#4D1D57 #752C85 #9E3BB3 #B860CB #CD8EDA

Accessibility & contrast

On white

5.63
#9E3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9E3BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3BB3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3BB3#FFFFFF#000000##FFFFFF
##9E3BB31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B7
Deuteranopia (green-blind)
#466BB0
Tritanopia (blue-blind)
#9F5072
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e3bb3;
/* rgb */ color: rgb(158, 59, 179);
/* oklch */ color: oklch(54.0% 0.196 320.1);
Tailwind
colors: {
  custom: {
    50: '#be79ca',
    500: '#9e3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bb3;
$custom-light: #be79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bb3",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 289.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.19588,
    "h": 320.1
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#9E3BB3
secondary
#90C585
accent
#DA4E66
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9E3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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