#9E2BBC#9E2BBC

#9E2BBC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.222 H 318.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9E2BBC
RGBrgb(158, 43, 188)
HSLhsl(288, 63%, 45%)
HSVhsv(288, 77%, 74%)
CMYKcmyk(16%, 77.1%, 0%, 26.3%)
CIE-LABlab(42.20, 65.35, -52.65)
CIE-LCHlch(42.20, 83.92, 321.14°)
OKLaboklab(53.08% 0.1653 -0.1481)
OKLCHoklch(53.08% 0.222 318.1)
XYZxyz(24.0403, 12.6288, 48.7385)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BBC #49BC2B
analogous
#552BBC #9E2BBC #BC2B92
triadic
#9E2BBC #BC9E2B #2BBC9E
tetradic
#9E2BBC #BC552B #49BC2B #2B92BC
square
#9E2BBC #BC552B #49BC2B #2B92BC
split-complementary
#9E2BBC #92BC2B #2BBC55
monochromatic
#4A1458 #74208A #9E2BBC #BA4ED6 #CE80E2

Accessibility & contrast

On white

5.96
#9E2BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2BBC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BBC#FFFFFF#000000##FFFFFF
##9E2BBC1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#9D4B73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2bbc;
/* rgb */ color: rgb(158, 43, 188);
/* oklch */ color: oklch(53.1% 0.222 318.1);
Tailwind
colors: {
  custom: {
    50: '#bf72d1',
    500: '#9e2bbc',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bbc;
$custom-light: #bf72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bbc",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 287.586,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.22196,
    "h": 318.1
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#9E2BBC
secondary
#89CB78
accent
#E64264
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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