#9E2BAC#9E2BAC

#9E2BAC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.209 H 323.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9E2BAC
RGBrgb(158, 43, 172)
HSLhsl(293, 60%, 42%)
HSVhsv(293, 75%, 67%)
CMYKcmyk(8.1%, 75%, 0%, 32.5%)
CIE-LABlab(41.18, 62.43, -44.84)
CIE-LCHlch(41.18, 76.86, 324.31°)
OKLaboklab(52.03% 0.1669 -0.1252)
OKLCHoklch(52.03% 0.209 323.1)
XYZxyz(22.4101, 11.9768, 40.1531)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BAC #39AC2B
analogous
#5D2BAC #9E2BAC #AC2B7A
triadic
#9E2BAC #AC9E2B #2BAC9E
tetradic
#9E2BAC #AC5D2B #39AC2B #2B7AAC
square
#9E2BAC #AC5D2B #39AC2B #2B7AAC
split-complementary
#9E2BAC #7AAC2B #2BAC5D
monochromatic
#44134A #711F7B #9E2BAC #C144D0 #D175DC

Accessibility & contrast

On white

6.19
#9E2BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2BAC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BAC#FFFFFF#000000##FFFFFF
##9E2BAC1.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#A0436A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2bac;
/* rgb */ color: rgb(158, 43, 172);
/* oklch */ color: oklch(52.0% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#be71c5',
    500: '#9e2bac',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bac;
$custom-light: #be71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bac",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 293.488,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52033,
    "c": 0.20868,
    "h": 323.1
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#9E2BAC
secondary
#78C46F
accent
#E34556
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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