#9E2F99#9E2F99

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

Color values

HEX#9E2F99
RGBrgb(158, 47, 153)
HSLhsl(303, 54%, 40%)
HSVhsv(303, 70%, 62%)
CMYKcmyk(0%, 70.3%, 3.2%, 38%)
CIE-LABlab(40.58, 57.76, -34.41)
CIE-LCHlch(40.58, 67.23, 329.22°)
OKLaboklab(51.25% 0.1633 -0.0949)
OKLCHoklch(51.25% 0.189 329.8)
XYZxyz(20.8667, 11.6036, 31.2715)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F99 #2F9E34
analogous
#6C2F9E #9E2F99 #9E2F61
triadic
#9E2F99 #999E2F #2F999E
tetradic
#9E2F99 #9E6C2F #2F9E34 #2F619E
square
#9E2F99 #9E6C2F #2F9E34 #2F619E
split-complementary
#9E2F99 #619E2F #2F9E6C
monochromatic
#40133E #6F216B #9E2F99 #C743C1 #D572D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2F99#FFFFFF#000000##FFFFFF
##9E2F991.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)
#23569C
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#A43D60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2f99;
/* rgb */ color: rgb(158, 47, 153);
/* oklch */ color: oklch(51.3% 0.189 329.8);
Tailwind
colors: {
  custom: {
    50: '#be72b7',
    500: '#9e2f99',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f99;
$custom-light: #be72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f99",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 302.703,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51252,
    "c": 0.18885,
    "h": 329.8
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#9E2F99
secondary
#6CBD70
accent
#DE514A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9E2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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