#9E2BBD#9E2BBD

#9E2BBD is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.223 H 317.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9E2BBD
RGBrgb(158, 43, 189)
HSLhsl(287, 63%, 45%)
HSVhsv(287, 77%, 74%)
CMYKcmyk(16.4%, 77.2%, 0%, 25.9%)
CIE-LABlab(42.27, 65.54, -53.13)
CIE-LCHlch(42.27, 84.37, 320.97°)
OKLaboklab(53.15% 0.1652 -0.1495)
OKLCHoklch(53.15% 0.223 317.9)
XYZxyz(24.1484, 12.6721, 49.3082)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BBD #4ABD2B
analogous
#552BBD #9E2BBD #BD2B93
triadic
#9E2BBD #BD9E2B #2BBD9E
tetradic
#9E2BBD #BD552B #4ABD2B #2B93BD
square
#9E2BBD #BD552B #4ABD2B #2B93BD
split-complementary
#9E2BBD #93BD2B #2BBD55
monochromatic
#4B1459 #74208B #9E2BBD #BA4ED7 #CD80E2

Accessibility & contrast

On white

5.94
#9E2BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9E2BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BBD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BBD#FFFFFF#000000##FFFFFF
##9E2BBD1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#9D4B73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2bbd;
/* rgb */ color: rgb(158, 43, 189);
/* oklch */ color: oklch(53.1% 0.223 317.9);
Tailwind
colors: {
  custom: {
    50: '#bf72d2',
    500: '#9e2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bbd;
$custom-light: #bf72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bbd",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 287.26,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.2228,
    "h": 317.9
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#9E2BBD
secondary
#8ACB79
accent
#E64265
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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