#9E4BBC#9E4BBC

#9E4BBC is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.4% C 0.182 H 316.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9E4BBC
RGBrgb(158, 75, 188)
HSLhsl(284, 46%, 52%)
HSVhsv(284, 60%, 74%)
CMYKcmyk(16%, 60.1%, 0%, 26.3%)
CIE-LABlab(46.89, 52.23, -45.14)
CIE-LCHlch(46.89, 69.03, 319.16°)
OKLaboklab(56.45% 0.1313 -0.1263)
OKLCHoklch(56.45% 0.182 316.1)
XYZxyz(25.6923, 15.9330, 49.2892)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BBC #69BC4B
analogous
#664BBC #9E4BBC #BC4BA2
triadic
#9E4BBC #BC9E4B #4BBC9E
tetradic
#9E4BBC #BC664B #69BC4B #4BA2BC
square
#9E4BBC #BC664B #69BC4B #4BA2BC
split-complementary
#9E4BBC #A2BC4B #4BBC66
monochromatic
#552666 #7B3793 #9E4BBC #B678CD #CEA4DD

Accessibility & contrast

On white

5.02
#9E4BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9E4BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BBC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BBC#FFFFFF#000000##FFFFFF
##9E4BBC1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6AC0
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#9C5E7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e4bbc;
/* rgb */ color: rgb(158, 75, 188);
/* oklch */ color: oklch(56.4% 0.182 316.1);
Tailwind
colors: {
  custom: {
    50: '#bd82d1',
    500: '#9e4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bbc;
$custom-light: #bd82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bbc",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 284.071,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.18217,
    "h": 316.1
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#9E4BBC
secondary
#A6CA99
accent
#D55275
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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