#9E2F95#9E2F95

#9E2F95 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.186 H 331.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9E2F95
RGBrgb(158, 47, 149)
HSLhsl(305, 54%, 40%)
HSVhsv(305, 70%, 62%)
CMYKcmyk(0%, 70.3%, 5.7%, 38%)
CIE-LABlab(40.37, 57.10, -32.32)
CIE-LCHlch(40.37, 65.61, 330.49°)
OKLaboklab(51.03% 0.1631 -0.0889)
OKLCHoklch(51.03% 0.186 331.4)
XYZxyz(20.5419, 11.4737, 29.5607)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F95 #2F9E38
analogous
#6F2F9E #9E2F95 #9E2F5D
triadic
#9E2F95 #959E2F #2F959E
tetradic
#9E2F95 #9E6F2F #2F9E38 #2F5D9E
square
#9E2F95 #9E6F2F #2F9E38 #2F5D9E
split-complementary
#9E2F95 #5D9E2F #2F9E6F
monochromatic
#40133C #6F2169 #9E2F95 #C743BC #D572CD

Accessibility & contrast

On white

6.37
#9E2F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2F95
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F95#FFFFFF#000000##FFFFFF
##9E2F951.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A43B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2f95;
/* rgb */ color: rgb(158, 47, 149);
/* oklch */ color: oklch(51.0% 0.186 331.4);
Tailwind
colors: {
  custom: {
    50: '#be72b4',
    500: '#9e2f95',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f95;
$custom-light: #be72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f95",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 304.865,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.18571,
    "h": 331.4
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#9E2F95
secondary
#6CBD73
accent
#DE564A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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