#9E2BB4#9E2BB4

#9E2BB4 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.215 H 320.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9E2BB4
RGBrgb(158, 43, 180)
HSLhsl(290, 61%, 44%)
HSVhsv(290, 76%, 71%)
CMYKcmyk(12.2%, 76.1%, 0%, 29.4%)
CIE-LABlab(41.68, 63.87, -48.78)
CIE-LCHlch(41.68, 80.37, 322.63°)
OKLaboklab(52.55% 0.1663 -0.1367)
OKLCHoklch(52.55% 0.215 320.6)
XYZxyz(23.2017, 12.2934, 44.3219)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BB4 #41B42B
analogous
#592BB4 #9E2BB4 #B42B85
triadic
#9E2BB4 #B49E2B #2BB49E
tetradic
#9E2BB4 #B4592B #41B42B #2B85B4
square
#9E2BB4 #B4592B #41B42B #2B85B4
split-complementary
#9E2BB4 #85B42B #2BB459
monochromatic
#471351 #731F83 #9E2BB4 #BD49D3 #CF7ADF

Accessibility & contrast

On white

6.07
#9E2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9E2BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BB4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BB4#FFFFFF#000000##FFFFFF
##9E2BB41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3A66B1
Tritanopia (blue-blind)
#9F476E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2bb4;
/* rgb */ color: rgb(158, 43, 180);
/* oklch */ color: oklch(52.5% 0.215 320.6);
Tailwind
colors: {
  custom: {
    50: '#bf71cb',
    500: '#9e2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bb4;
$custom-light: #bf71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bb4",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 290.365,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.21528,
    "h": 320.6
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#9E2BB4
secondary
#81C773
accent
#E5435D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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