#9E2D99#9E2D99

#9E2D99 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.191 H 329.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9E2D99
RGBrgb(158, 45, 153)
HSLhsl(303, 56%, 40%)
HSVhsv(303, 72%, 62%)
CMYKcmyk(0%, 71.5%, 3.2%, 38%)
CIE-LABlab(40.32, 58.48, -34.81)
CIE-LCHlch(40.32, 68.05, 329.24°)
OKLaboklab(51.07% 0.1653 -0.096)
OKLCHoklch(51.07% 0.191 329.8)
XYZxyz(20.7886, 11.4474, 31.2455)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D99 #2D9E32
analogous
#6B2D9E #9E2D99 #9E2D60
triadic
#9E2D99 #999E2D #2D999E
tetradic
#9E2D99 #9E6B2D #2D9E32 #2D609E
square
#9E2D99 #9E6B2D #2D9E32 #2D609E
split-complementary
#9E2D99 #609E2D #2D9E6B
monochromatic
#3F123D #6E1F6B #9E2D99 #C940C2 #D66FD2

Accessibility & contrast

On white

6.38
#9E2D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9E2D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D99
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D99#FFFFFF#000000##FFFFFF
##9E2D991.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#4E6496
Tritanopia (blue-blind)
#A43C60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2d99;
/* rgb */ color: rgb(158, 45, 153);
/* oklch */ color: oklch(51.1% 0.191 329.8);
Tailwind
colors: {
  custom: {
    50: '#be71b7',
    500: '#9e2d99',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d99;
$custom-light: #be71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d99",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 302.655,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.19121,
    "h": 329.8
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#9E2D99
secondary
#69BD6D
accent
#DF4F49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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