#9E2FA0#9E2FA0

#9E2FA0 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.194 H 327.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9E2FA0
RGBrgb(158, 47, 160)
HSLhsl(299, 55%, 41%)
HSVhsv(299, 71%, 63%)
CMYKcmyk(1.2%, 70.6%, 0%, 37.3%)
CIE-LABlab(40.96, 58.94, -38.01)
CIE-LCHlch(40.96, 70.13, 327.18°)
OKLaboklab(51.65% 0.1635 -0.1054)
OKLCHoklch(51.65% 0.194 327.2)
XYZxyz(21.4619, 11.8417, 34.4062)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FA0 #31A02F
analogous
#652FA0 #9E2FA0 #A02F69
triadic
#9E2FA0 #A09E2F #2FA09E
tetradic
#9E2FA0 #A0652F #31A02F #2F69A0
square
#9E2FA0 #A0652F #31A02F #2F69A0
split-complementary
#9E2FA0 #69A02F #2FA065
monochromatic
#411341 #6F2171 #9E2FA0 #C644C8 #D473D6

Accessibility & contrast

On white

6.24
#9E2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9E2FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FA0
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FA0#FFFFFF#000000##FFFFFF
##9E2FA01.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#4B669D
Tritanopia (blue-blind)
#A34064
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2fa0;
/* rgb */ color: rgb(158, 47, 160);
/* oklch */ color: oklch(51.7% 0.194 327.2);
Tailwind
colors: {
  custom: {
    50: '#be72bc',
    500: '#9e2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fa0;
$custom-light: #be72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fa0",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 298.938,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51653,
    "c": 0.19446,
    "h": 327.2
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#9E2FA0
secondary
#6EBE6D
accent
#DE4A4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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