#9E2F94#9E2F94

#9E2F94 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.185 H 331.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9E2F94
RGBrgb(158, 47, 148)
HSLhsl(305, 54%, 40%)
HSVhsv(305, 70%, 62%)
CMYKcmyk(0%, 70.3%, 6.3%, 38%)
CIE-LABlab(40.31, 56.93, -31.79)
CIE-LCHlch(40.31, 65.21, 330.82°)
OKLaboklab(50.98% 0.163 -0.0874)
OKLCHoklch(50.98% 0.185 331.8)
XYZxyz(20.4624, 11.4419, 29.1420)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F94 #2F9E39
analogous
#702F9E #9E2F94 #9E2F5D
triadic
#9E2F94 #949E2F #2F949E
tetradic
#9E2F94 #9E702F #2F9E39 #2F5D9E
square
#9E2F94 #9E702F #2F9E39 #2F5D9E
split-complementary
#9E2F94 #5D9E2F #2F9E70
monochromatic
#40133C #6F2168 #9E2F94 #C743BB #D572CC

Accessibility & contrast

On white

6.39
#9E2F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2F94
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F94#FFFFFF#000000##FFFFFF
##9E2F941.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285597
Deuteranopia (green-blind)
#516591
Tritanopia (blue-blind)
#A53B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2f94;
/* rgb */ color: rgb(158, 47, 148);
/* oklch */ color: oklch(51.0% 0.185 331.8);
Tailwind
colors: {
  custom: {
    50: '#be72b4',
    500: '#9e2f94',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f94;
$custom-light: #be72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f94",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 305.405,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.18493,
    "h": 331.8
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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