#9E2BB5#9E2BB5

#9E2BB5 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.216 H 320.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9E2BB5
RGBrgb(158, 43, 181)
HSLhsl(290, 62%, 44%)
HSVhsv(290, 76%, 71%)
CMYKcmyk(12.7%, 76.2%, 0%, 29%)
CIE-LABlab(41.74, 64.05, -49.26)
CIE-LCHlch(41.74, 80.81, 322.44°)
OKLaboklab(52.61% 0.1662 -0.1382)
OKLCHoklch(52.61% 0.216 320.3)
XYZxyz(23.3039, 12.3343, 44.8604)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BB5 #42B52B
analogous
#592BB5 #9E2BB5 #B52B87
triadic
#9E2BB5 #B59E2B #2BB59E
tetradic
#9E2BB5 #B5592B #42B52B #2B87B5
square
#9E2BB5 #B5592B #42B52B #2B87B5
split-complementary
#9E2BB5 #87B52B #2BB559
monochromatic
#481452 #731F84 #9E2BB5 #BD49D4 #CF7BE0

Accessibility & contrast

On white

6.06
#9E2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9E2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BB5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BB5#FFFFFF#000000##FFFFFF
##9E2BB51.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3966B2
Tritanopia (blue-blind)
#9F476F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2bb5;
/* rgb */ color: rgb(158, 43, 181);
/* oklch */ color: oklch(52.6% 0.216 320.3);
Tailwind
colors: {
  custom: {
    50: '#bf71cc',
    500: '#9e2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bb5;
$custom-light: #bf71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bb5",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 290,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.21611,
    "h": 320.3
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#9E2BB5
secondary
#82C874
accent
#E5435E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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