#9E2C90#9E2C90

#9E2C90 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.185 H 333.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9E2C90
RGBrgb(158, 44, 144)
HSLhsl(307, 56%, 40%)
HSVhsv(307, 72%, 62%)
CMYKcmyk(0%, 72.2%, 8.9%, 38%)
CIE-LABlab(39.72, 57.38, -30.29)
CIE-LCHlch(39.72, 64.88, 332.17°)
OKLaboklab(50.48% 0.1659 -0.083)
OKLCHoklch(50.48% 0.185 333.4)
XYZxyz(20.0354, 11.0858, 27.4647)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C90 #2C9E3A
analogous
#732C9E #9E2C90 #9E2C57
triadic
#9E2C90 #909E2C #2C909E
tetradic
#9E2C90 #9E732C #2C9E3A #2C579E
square
#9E2C90 #9E732C #2C9E3A #2C579E
split-complementary
#9E2C90 #579E2C #2C9E73
monochromatic
#3E1139 #6E1F64 #9E2C90 #C93EB8 #D76ECA

Accessibility & contrast

On white

6.53
#9E2C90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9E2C90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C90
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C90#FFFFFF#000000##FFFFFF
##9E2C901.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#52638D
Tritanopia (blue-blind)
#A5375B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2c90;
/* rgb */ color: rgb(158, 44, 144);
/* oklch */ color: oklch(50.5% 0.185 333.4);
Tailwind
colors: {
  custom: {
    50: '#be70b1',
    500: '#9e2c90',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c90;
$custom-light: #be70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c90",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 307.368,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.18548,
    "h": 333.4
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#9E2C90
secondary
#68BE73
accent
#E05B48
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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