#9E2D90#9E2D90

#9E2D90 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.184 H 333.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9E2D90
RGBrgb(158, 45, 144)
HSLhsl(307, 56%, 40%)
HSVhsv(307, 72%, 62%)
CMYKcmyk(0%, 71.5%, 8.9%, 38%)
CIE-LABlab(39.85, 57.02, -30.09)
CIE-LCHlch(39.85, 64.47, 332.18°)
OKLaboklab(50.57% 0.1648 -0.0824)
OKLCHoklch(50.57% 0.184 333.4)
XYZxyz(20.0731, 11.1612, 27.4773)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D90 #2D9E3B
analogous
#742D9E #9E2D90 #9E2D57
triadic
#9E2D90 #909E2D #2D909E
tetradic
#9E2D90 #9E742D #2D9E3B #2D579E
square
#9E2D90 #9E742D #2D9E3B #2D579E
split-complementary
#9E2D90 #579E2D #2D9E74
monochromatic
#3F1239 #6E1F65 #9E2D90 #C940B8 #D66FC9

Accessibility & contrast

On white

6.50
#9E2D90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9E2D90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D90
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D90#FFFFFF#000000##FFFFFF
##9E2D901.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2d90;
/* rgb */ color: rgb(158, 45, 144);
/* oklch */ color: oklch(50.6% 0.184 333.4);
Tailwind
colors: {
  custom: {
    50: '#be71b1',
    500: '#9e2d90',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d90;
$custom-light: #be71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d90",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 307.434,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50574,
    "c": 0.18429,
    "h": 333.4
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#9E2D90
secondary
#69BD74
accent
#DF5B49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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