#9E2C95#9E2C95

#9E2C95 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.189 H 331.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9E2C95
RGBrgb(158, 44, 149)
HSLhsl(305, 56%, 40%)
HSVhsv(305, 72%, 62%)
CMYKcmyk(0%, 72.2%, 5.7%, 38%)
CIE-LABlab(39.99, 58.18, -32.92)
CIE-LCHlch(39.99, 66.85, 330.50°)
OKLaboklab(50.76% 0.1662 -0.0906)
OKLCHoklch(50.76% 0.189 331.4)
XYZxyz(20.4260, 11.2420, 29.5221)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C95 #2C9E35
analogous
#6E2C9E #9E2C95 #9E2C5C
triadic
#9E2C95 #959E2C #2C959E
tetradic
#9E2C95 #9E6E2C #2C9E35 #2C5C9E
square
#9E2C95 #9E6E2C #2C9E35 #2C5C9E
split-complementary
#9E2C95 #5C9E2C #2C9E6E
monochromatic
#3E113B #6E1F68 #9E2C95 #C93EBE #D76ECE

Accessibility & contrast

On white

6.47
#9E2C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9E2C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C95
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C95#FFFFFF#000000##FFFFFF
##9E2C951.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A4395D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2c95;
/* rgb */ color: rgb(158, 44, 149);
/* oklch */ color: oklch(50.8% 0.189 331.4);
Tailwind
colors: {
  custom: {
    50: '#be70b4',
    500: '#9e2c95',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c95;
$custom-light: #be70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c95",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 304.737,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.18928,
    "h": 331.4
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#9E2C95
secondary
#68BE6F
accent
#E05448
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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