#9E2BBE#9E2BBE

#9E2BBE is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.224 H 317.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9E2BBE
RGBrgb(158, 43, 190)
HSLhsl(287, 63%, 46%)
HSVhsv(287, 77%, 75%)
CMYKcmyk(16.8%, 77.4%, 0%, 25.5%)
CIE-LABlab(42.33, 65.73, -53.61)
CIE-LCHlch(42.33, 84.81, 320.80°)
OKLaboklab(53.22% 0.1651 -0.1509)
OKLCHoklch(53.22% 0.224 317.6)
XYZxyz(24.2573, 12.7156, 49.8818)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BBE #4BBE2B
analogous
#552BBE #9E2BBE #BE2B94
triadic
#9E2BBE #BE9E2B #2BBE9E
tetradic
#9E2BBE #BE552B #4BBE2B #2B94BE
square
#9E2BBE #BE552B #4BBE2B #2B94BE
split-complementary
#9E2BBE #94BE2B #2BBE55
monochromatic
#4B145A #74208C #9E2BBE #BA4FD7 #CD81E2

Accessibility & contrast

On white

5.93
#9E2BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9E2BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BBE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BBE#FFFFFF#000000##FFFFFF
##9E2BBE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#3067BB
Tritanopia (blue-blind)
#9D4C74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2bbe;
/* rgb */ color: rgb(158, 43, 190);
/* oklch */ color: oklch(53.2% 0.224 317.6);
Tailwind
colors: {
  custom: {
    50: '#bf72d2',
    500: '#9e2bbe',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bbe;
$custom-light: #bf72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bbe",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 286.939,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.22364,
    "h": 317.6
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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