#9E2FA3#9E2FA3

#9E2FA3 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.197 H 326.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9E2FA3
RGBrgb(158, 47, 163)
HSLhsl(297, 55%, 41%)
HSVhsv(297, 71%, 64%)
CMYKcmyk(3.1%, 71.2%, 0%, 36.1%)
CIE-LABlab(41.13, 59.46, -39.54)
CIE-LCHlch(41.13, 71.41, 326.38°)
OKLaboklab(51.83% 0.1635 -0.1098)
OKLCHoklch(51.83% 0.197 326.1)
XYZxyz(21.7275, 11.9479, 35.8050)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FA3 #34A32F
analogous
#642FA3 #9E2FA3 #A32F6E
triadic
#9E2FA3 #A39E2F #2FA39E
tetradic
#9E2FA3 #A3642F #34A32F #2F6EA3
square
#9E2FA3 #A3642F #34A32F #2F6EA3
split-complementary
#9E2FA3 #6EA32F #2FA364
monochromatic
#421444 #702173 #9E2FA3 #C446CA #D375D7

Accessibility & contrast

On white

6.20
#9E2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9E2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FA3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FA3#FFFFFF#000000##FFFFFF
##9E2FA31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A6
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#A24266
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2fa3;
/* rgb */ color: rgb(158, 47, 163);
/* oklch */ color: oklch(51.8% 0.197 326.1);
Tailwind
colors: {
  custom: {
    50: '#be72bf',
    500: '#9e2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fa3;
$custom-light: #be72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fa3",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 297.414,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.19691,
    "h": 326.1
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#9E2FA3
secondary
#72BF6F
accent
#DF4950
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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