#9E2F90#9E2F90

#9E2F90 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.182 H 333.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9E2F90
RGBrgb(158, 47, 144)
HSLhsl(308, 54%, 40%)
HSVhsv(308, 70%, 62%)
CMYKcmyk(0%, 70.3%, 8.9%, 38%)
CIE-LABlab(40.11, 56.29, -29.69)
CIE-LCHlch(40.11, 63.64, 332.19°)
OKLaboklab(50.76% 0.1627 -0.0813)
OKLCHoklch(50.76% 0.182 333.4)
XYZxyz(20.1512, 11.3174, 27.5033)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F90 #2F9E3D
analogous
#752F9E #9E2F90 #9E2F58
triadic
#9E2F90 #909E2F #2F909E
tetradic
#9E2F90 #9E752F #2F9E3D #2F589E
square
#9E2F90 #9E752F #2F9E3D #2F589E
split-complementary
#9E2F90 #589E2F #2F9E75
monochromatic
#40133A #6F2165 #9E2F90 #C743B6 #D572C9

Accessibility & contrast

On white

6.44
#9E2F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9E2F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F90
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F90#FFFFFF#000000##FFFFFF
##9E2F901.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5493
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#A5395C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2f90;
/* rgb */ color: rgb(158, 47, 144);
/* oklch */ color: oklch(50.8% 0.182 333.4);
Tailwind
colors: {
  custom: {
    50: '#be72b1',
    500: '#9e2f90',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f90;
$custom-light: #be72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f90",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 307.568,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50762,
    "c": 0.18186,
    "h": 333.4
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#9E2F90
secondary
#6CBD76
accent
#DE5D4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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