#9E2FB9#9E2FB9

#9E2FB9 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.215 H 318.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9E2FB9
RGBrgb(158, 47, 185)
HSLhsl(288, 59%, 45%)
HSVhsv(288, 75%, 73%)
CMYKcmyk(14.6%, 74.6%, 0%, 27.5%)
CIE-LABlab(42.47, 63.45, -50.45)
CIE-LCHlch(42.47, 81.06, 321.51°)
OKLaboklab(53.21% 0.1622 -0.1417)
OKLCHoklch(53.21% 0.215 318.9)
XYZxyz(23.8729, 12.8061, 47.1039)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FB9 #4AB92F
analogous
#592FB9 #9E2FB9 #B92F8F
triadic
#9E2FB9 #B99E2F #2FB99E
tetradic
#9E2FB9 #B9592F #4AB92F #2F8FB9
square
#9E2FB9 #B9592F #4AB92F #2F8FB9
split-complementary
#9E2FB9 #8FB92F #2FB959
monochromatic
#4B1657 #742388 #9E2FB9 #BA52D3 #CD83DF

Accessibility & contrast

On white

5.90
#9E2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9E2FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FB9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FB9#FFFFFF#000000##FFFFFF
##9E2FB91.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#3868B6
Tritanopia (blue-blind)
#9E4B72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2fb9;
/* rgb */ color: rgb(158, 47, 185);
/* oklch */ color: oklch(53.2% 0.215 318.9);
Tailwind
colors: {
  custom: {
    50: '#bf73cf',
    500: '#9e2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fb9;
$custom-light: #bf73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fb9",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 288.261,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53211,
    "c": 0.21536,
    "h": 318.9
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#9E2FB9
secondary
#8AC97B
accent
#E34564
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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