#9E2FA8#9E2FA8

#9E2FA8 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.201 H 324.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9E2FA8
RGBrgb(158, 47, 168)
HSLhsl(295, 56%, 42%)
HSVhsv(295, 72%, 66%)
CMYKcmyk(6%, 72%, 0%, 34.1%)
CIE-LABlab(41.42, 60.34, -42.07)
CIE-LCHlch(41.42, 73.55, 325.12°)
OKLaboklab(52.13% 0.1634 -0.1172)
OKLCHoklch(52.13% 0.201 324.4)
XYZxyz(22.1844, 12.1307, 38.2112)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FA8 #39A82F
analogous
#612FA8 #9E2FA8 #A82F76
triadic
#9E2FA8 #A89E2F #2FA89E
tetradic
#9E2FA8 #A8612F #39A82F #2F76A8
square
#9E2FA8 #A8612F #39A82F #2F76A8
split-complementary
#9E2FA8 #76A82F #2FA861
monochromatic
#441448 #712278 #9E2FA8 #C148CC #D178D9

Accessibility & contrast

On white

6.13
#9E2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2FA8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FA8#FFFFFF#000000##FFFFFF
##9E2FA81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0659AB
Deuteranopia (green-blind)
#4666A5
Tritanopia (blue-blind)
#A14469
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2fa8;
/* rgb */ color: rgb(158, 47, 168);
/* oklch */ color: oklch(52.1% 0.201 324.4);
Tailwind
colors: {
  custom: {
    50: '#be72c2',
    500: '#9e2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fa8;
$custom-light: #be72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fa8",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 295.041,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5213,
    "c": 0.20103,
    "h": 324.4
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#9E2FA8
secondary
#78C171
accent
#E04855
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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