#9E2CAB#9E2CAB

#9E2CAB is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.207 H 323.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9E2CAB
RGBrgb(158, 44, 171)
HSLhsl(294, 59%, 42%)
HSVhsv(294, 74%, 67%)
CMYKcmyk(7.6%, 74.3%, 0%, 32.9%)
CIE-LABlab(41.24, 61.92, -44.15)
CIE-LCHlch(41.24, 76.05, 324.51°)
OKLaboklab(52.05% 0.1661 -0.1232)
OKLCHoklch(52.05% 0.207 323.4)
XYZxyz(22.3512, 12.0121, 39.6615)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2CAB #39AB2C
analogous
#5E2CAB #9E2CAB #AB2C79
triadic
#9E2CAB #AB9E2C #2CAB9E
tetradic
#9E2CAB #AB5E2C #39AB2C #2C79AB
square
#9E2CAB #AB5E2C #39AB2C #2C79AB
split-complementary
#9E2CAB #79AB2C #2CAB5E
monochromatic
#44134A #711F7A #9E2CAB #C145CF #D176DC

Accessibility & contrast

On white

6.17
#9E2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9E2CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2CAB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2CAB#FFFFFF#000000##FFFFFF
##9E2CAB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#A1436A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2cab;
/* rgb */ color: rgb(158, 44, 171);
/* oklch */ color: oklch(52.1% 0.207 323.4);
Tailwind
colors: {
  custom: {
    50: '#be71c4',
    500: '#9e2cab',
    950: '#000000',
  },
}
SCSS
$custom: #9e2cab;
$custom-light: #be71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2cab",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 293.858,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52054,
    "c": 0.20681,
    "h": 323.4
  },
  "luminance": 0.12011
}

Semantic roles & 50–950 ramp

primary
#9E2CAB
secondary
#78C36F
accent
#E24656
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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