#9E2C94#9E2C94

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

Color values

HEX#9E2C94
RGBrgb(158, 44, 148)
HSLhsl(305, 56%, 40%)
HSVhsv(305, 72%, 62%)
CMYKcmyk(0%, 72.2%, 6.3%, 38%)
CIE-LABlab(39.93, 58.02, -32.40)
CIE-LCHlch(39.93, 66.45, 330.82°)
OKLaboklab(50.7% 0.1661 -0.0891)
OKLCHoklch(50.7% 0.189 331.8)
XYZxyz(20.3465, 11.2102, 29.1034)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C94 #2C9E36
analogous
#6F2C9E #9E2C94 #9E2C5B
triadic
#9E2C94 #949E2C #2C949E
tetradic
#9E2C94 #9E6F2C #2C9E36 #2C5B9E
square
#9E2C94 #9E6F2C #2C9E36 #2C5B9E
split-complementary
#9E2C94 #5B9E2C #2C9E6F
monochromatic
#3E113A #6E1F67 #9E2C94 #C93EBD #D76ECD

Accessibility & contrast

On white

6.48
#9E2C94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9E2C94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C94
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C94#FFFFFF#000000##FFFFFF
##9E2C941.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245497
Deuteranopia (green-blind)
#506491
Tritanopia (blue-blind)
#A5395D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2c94;
/* rgb */ color: rgb(158, 44, 148);
/* oklch */ color: oklch(50.7% 0.189 331.8);
Tailwind
colors: {
  custom: {
    50: '#be70b4',
    500: '#9e2c94',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c94;
$custom-light: #be70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c94",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 305.263,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.18851,
    "h": 331.8
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#9E2C94
secondary
#68BE70
accent
#E05548
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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