#9E2CA0#9E2CA0

#9E2CA0 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.198 H 327.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9E2CA0
RGBrgb(158, 44, 160)
HSLhsl(299, 57%, 40%)
HSVhsv(299, 73%, 63%)
CMYKcmyk(1.2%, 72.5%, 0%, 37.3%)
CIE-LABlab(40.59, 60.00, -38.61)
CIE-LCHlch(40.59, 71.35, 327.24°)
OKLaboklab(51.39% 0.1664 -0.1071)
OKLCHoklch(51.39% 0.198 327.2)
XYZxyz(21.3461, 11.6100, 34.3675)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2CA0 #2EA02C
analogous
#642CA0 #9E2CA0 #A02C68
triadic
#9E2CA0 #A09E2C #2CA09E
tetradic
#9E2CA0 #A0642C #2EA02C #2C68A0
square
#9E2CA0 #A0642C #2EA02C #2C68A0
split-complementary
#9E2CA0 #68A02C #2CA064
monochromatic
#3F1240 #6F1F70 #9E2CA0 #C83FCA #D66FD7

Accessibility & contrast

On white

6.32
#9E2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9E2CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2CA0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2CA0#FFFFFF#000000##FFFFFF
##9E2CA01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A3
Deuteranopia (green-blind)
#49659D
Tritanopia (blue-blind)
#A33E63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2ca0;
/* rgb */ color: rgb(158, 44, 160);
/* oklch */ color: oklch(51.4% 0.198 327.2);
Tailwind
colors: {
  custom: {
    50: '#be71bc',
    500: '#9e2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ca0;
$custom-light: #be71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ca0",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 298.966,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.1979,
    "h": 327.2
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#9E2CA0
secondary
#6BBF69
accent
#E0484A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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