#9E3BC2#9E3BC2

#9E3BC2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.210 H 315.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9E3BC2
RGBrgb(158, 59, 194)
HSLhsl(284, 53%, 50%)
HSVhsv(284, 70%, 76%)
CMYKcmyk(18.6%, 69.6%, 0%, 23.9%)
CIE-LABlab(44.65, 60.64, -52.21)
CIE-LCHlch(44.65, 80.02, 319.27°)
OKLaboklab(54.95% 0.1496 -0.1469)
OKLCHoklch(54.95% 0.21 315.5)
XYZxyz(25.4006, 14.2930, 52.4493)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BC2 #5FC23B
analogous
#5B3BC2 #9E3BC2 #C23BA3
triadic
#9E3BC2 #C29E3B #3BC29E
tetradic
#9E3BC2 #C25B3B #5FC23B #3BA3C2
square
#9E3BC2 #C25B3B #5FC23B #3BA3C2
split-complementary
#9E3BC2 #A3C23B #3BC25B
monochromatic
#521E64 #782D93 #9E3BC2 #B569D1 #CC98E0

Accessibility & contrast

On white

5.44
#9E3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9E3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3BC2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3BC2#FFFFFF#000000##FFFFFF
##9E3BC21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#396CBF
Tritanopia (blue-blind)
#9B567A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e3bc2;
/* rgb */ color: rgb(158, 59, 194);
/* oklch */ color: oklch(54.9% 0.210 315.5);
Tailwind
colors: {
  custom: {
    50: '#bf79d5',
    500: '#9e3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bc2;
$custom-light: #bf79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bc2",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 284,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.20966,
    "h": 315.5
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#9E3BC2
secondary
#9ECB8E
accent
#DD4B72
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9E3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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