#9E2FA9#9E2FA9

#9E2FA9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.202 H 324.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9E2FA9
RGBrgb(158, 47, 169)
HSLhsl(295, 56%, 42%)
HSVhsv(295, 72%, 66%)
CMYKcmyk(6.5%, 72.2%, 0%, 33.7%)
CIE-LABlab(41.48, 60.51, -42.57)
CIE-LCHlch(41.48, 73.99, 324.88°)
OKLaboklab(52.19% 0.1633 -0.1186)
OKLCHoklch(52.19% 0.202 324)
XYZxyz(22.2779, 12.1681, 38.7037)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FA9 #3AA92F
analogous
#612FA9 #9E2FA9 #A92F77
triadic
#9E2FA9 #A99E2F #2FA99E
tetradic
#9E2FA9 #A9612F #3AA92F #2F77A9
square
#9E2FA9 #A9612F #3AA92F #2F77A9
split-complementary
#9E2FA9 #77A92F #2FA961
monochromatic
#441449 #712279 #9E2FA9 #C049CC #D179DA

Accessibility & contrast

On white

6.12
#9E2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9E2FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FA9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FA9#FFFFFF#000000##FFFFFF
##9E2FA91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AC
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#A14469
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2fa9;
/* rgb */ color: rgb(158, 47, 169);
/* oklch */ color: oklch(52.2% 0.202 324.0);
Tailwind
colors: {
  custom: {
    50: '#be73c3',
    500: '#9e2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fa9;
$custom-light: #be73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fa9",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 294.59,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.20185,
    "h": 324
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#9E2FA9
secondary
#79C272
accent
#E04856
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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