#9E4CBB#9E4CBB

#9E4CBB is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.5% C 0.180 H 316.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9E4CBB
RGBrgb(158, 76, 187)
HSLhsl(284, 45%, 52%)
HSVhsv(284, 59%, 73%)
CMYKcmyk(15.5%, 59.4%, 0%, 26.7%)
CIE-LABlab(47.01, 51.53, -44.36)
CIE-LCHlch(47.01, 68.00, 319.28°)
OKLaboklab(56.52% 0.13 -0.1241)
OKLCHoklch(56.52% 0.18 316.3)
XYZxyz(25.6533, 16.0267, 48.7462)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CBB #69BB4C
analogous
#674CBB #9E4CBB #BB4CA1
triadic
#9E4CBB #BB9E4C #4CBB9E
tetradic
#9E4CBB #BB674C #69BB4C #4CA1BB
square
#9E4CBB #BB674C #69BB4C #4CA1BB
split-complementary
#9E4CBB #A1BB4C #4CBB67
monochromatic
#552766 #7B3892 #9E4CBB #B678CC #CEA5DD

Accessibility & contrast

On white

4.99
#9E4CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9E4CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4CBB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CBB#FFFFFF#000000##FFFFFF
##9E4CBB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABF
Deuteranopia (green-blind)
#4D72B8
Tritanopia (blue-blind)
#9D5F7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e4cbb;
/* rgb */ color: rgb(158, 76, 187);
/* oklch */ color: oklch(56.5% 0.180 316.3);
Tailwind
colors: {
  custom: {
    50: '#bd82d0',
    500: '#9e4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cbb;
$custom-light: #bd82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cbb",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 284.324,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.17967,
    "h": 316.3
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#9E4CBB
secondary
#A6CA99
accent
#D55375
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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