#9E3BC9#9E3BC9

#9E3BC9 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.216 H 313.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9E3BC9
RGBrgb(158, 59, 201)
HSLhsl(282, 57%, 51%)
HSVhsv(282, 71%, 79%)
CMYKcmyk(21.4%, 70.6%, 0%, 21.2%)
CIE-LABlab(45.10, 62.06, -55.55)
CIE-LCHlch(45.10, 83.28, 318.17°)
OKLaboklab(55.41% 0.1489 -0.1567)
OKLCHoklch(55.41% 0.216 313.5)
XYZxyz(26.2053, 14.6149, 56.6876)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BC9 #66C93B
analogous
#573BC9 #9E3BC9 #C93BAD
triadic
#9E3BC9 #C99E3B #3BC99E
tetradic
#9E3BC9 #C9573B #66C93B #3BADC9
square
#9E3BC9 #C9573B #66C93B #3BADC9
split-complementary
#9E3BC9 #ADC93B #3BC957
monochromatic
#541E6C #7A2B9C #9E3BC9 #B66BD6 #CD9BE3

Accessibility & contrast

On white

5.35
#9E3BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9E3BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3BC9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3BC9#FFFFFF#000000##FFFFFF
##9E3BC91.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#306DC6
Tritanopia (blue-blind)
#9A597E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e3bc9;
/* rgb */ color: rgb(158, 59, 201);
/* oklch */ color: oklch(55.4% 0.216 313.5);
Tailwind
colors: {
  custom: {
    50: '#bf79da',
    500: '#9e3bc9',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bc9;
$custom-light: #bf79da;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bc9",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 281.831,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.21616,
    "h": 313.5
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#9E3BC9
secondary
#A3CF90
accent
#E04876
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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