#9E4BB2#9E4BB2

#9E4BB2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.172 H 319.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9E4BB2
RGBrgb(158, 75, 178)
HSLhsl(288, 41%, 50%)
HSVhsv(288, 58%, 70%)
CMYKcmyk(11.2%, 57.9%, 0%, 30.2%)
CIE-LABlab(46.33, 50.18, -40.17)
CIE-LCHlch(46.33, 64.28, 321.32°)
OKLaboklab(55.86% 0.1308 -0.1118)
OKLCHoklch(55.86% 0.172 319.5)
XYZxyz(24.6515, 15.5167, 43.8073)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BB2 #5FB24B
analogous
#6B4BB2 #9E4BB2 #B24B92
triadic
#9E4BB2 #B29E4B #4BB29E
tetradic
#9E4BB2 #B26B4B #5FB24B #4B92B2
square
#9E4BB2 #B26B4B #5FB24B #4B92B2
split-complementary
#9E4BB2 #92B24B #4BB26B
monochromatic
#52275C #783987 #9E4BB2 #B575C5 #CCA0D7

Accessibility & contrast

On white

5.12
#9E4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9E4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BB2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BB2#FFFFFF#000000##FFFFFF
##9E4BB21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#9E5B77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e4bb2;
/* rgb */ color: rgb(158, 75, 178);
/* oklch */ color: oklch(55.9% 0.172 319.5);
Tailwind
colors: {
  custom: {
    50: '#bd82c9',
    500: '#9e4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bb2;
$custom-light: #bd82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bb2",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 288.35,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.17212,
    "h": 319.5
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#9E4BB2
secondary
#9EC495
accent
#D1576F
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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