#9E4BB1#9E4BB1

#9E4BB1 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.8% C 0.171 H 319.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9E4BB1
RGBrgb(158, 75, 177)
HSLhsl(289, 40%, 49%)
HSVhsv(289, 58%, 69%)
CMYKcmyk(10.7%, 57.6%, 0%, 30.6%)
CIE-LABlab(46.28, 49.98, -39.67)
CIE-LCHlch(46.28, 63.81, 321.56°)
OKLaboklab(55.81% 0.1308 -0.1104)
OKLCHoklch(55.81% 0.171 319.8)
XYZxyz(24.5515, 15.4766, 43.2805)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BB1 #5EB14B
analogous
#6B4BB1 #9E4BB1 #B14B91
triadic
#9E4BB1 #B19E4B #4BB19E
tetradic
#9E4BB1 #B16B4B #5EB14B #4B91B1
square
#9E4BB1 #B16B4B #5EB14B #4B91B1
split-complementary
#9E4BB1 #91B14B #4BB16B
monochromatic
#51275B #783986 #9E4BB1 #B675C4 #CCA0D7

Accessibility & contrast

On white

5.13
#9E4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E4BB1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BB1#FFFFFF#000000##FFFFFF
##9E4BB11.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#5371AE
Tritanopia (blue-blind)
#9F5B77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e4bb1;
/* rgb */ color: rgb(158, 75, 177);
/* oklch */ color: oklch(55.8% 0.171 319.8);
Tailwind
colors: {
  custom: {
    50: '#bd82c9',
    500: '#9e4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bb1;
$custom-light: #bd82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bb1",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 288.824,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.17113,
    "h": 319.8
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#9E4BB1
secondary
#9DC394
accent
#D0576E
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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