#9E2CBA#9E2CBA

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

Color values

HEX#9E2CBA
RGBrgb(158, 44, 186)
HSLhsl(288, 62%, 45%)
HSVhsv(288, 76%, 73%)
CMYKcmyk(15.1%, 76.3%, 0%, 27.1%)
CIE-LABlab(42.18, 64.65, -51.51)
CIE-LCHlch(42.18, 82.66, 321.46°)
OKLaboklab(53.03% 0.1647 -0.1447)
OKLCHoklch(53.03% 0.219 318.7)
XYZxyz(23.8630, 12.6168, 47.6232)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2CBA #48BA2C
analogous
#572CBA #9E2CBA #BA2C8F
triadic
#9E2CBA #BA9E2C #2CBA9E
tetradic
#9E2CBA #BA572C #48BA2C #2C8FBA
square
#9E2CBA #BA572C #48BA2C #2C8FBA
split-complementary
#9E2CBA #8FBA2C #2CBA57
monochromatic
#4A1557 #742089 #9E2CBA #BB4ED5 #CE80E1

Accessibility & contrast

On white

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

On black

3.52
#9E2CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E2CBA#FFFFFF#000000##FFFFFF
##9E2CBA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#3567B7
Tritanopia (blue-blind)
#9E4A72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2cba;
/* rgb */ color: rgb(158, 44, 186);
/* oklch */ color: oklch(53.0% 0.219 318.7);
Tailwind
colors: {
  custom: {
    50: '#bf72cf',
    500: '#9e2cba',
    950: '#000000',
  },
}
SCSS
$custom: #9e2cba;
$custom-light: #bf72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2cba",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 288.169,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.21929,
    "h": 318.7
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#9E2CBA
secondary
#88CA78
accent
#E54363
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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