#9E2FA2#9E2FA2

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

Color values

HEX#9E2FA2
RGBrgb(158, 47, 162)
HSLhsl(298, 55%, 41%)
HSVhsv(298, 71%, 64%)
CMYKcmyk(2.5%, 71%, 0%, 36.5%)
CIE-LABlab(41.08, 59.29, -39.03)
CIE-LCHlch(41.08, 70.98, 326.64°)
OKLaboklab(51.77% 0.1635 -0.1083)
OKLCHoklch(51.77% 0.196 326.5)
XYZxyz(21.6383, 11.9122, 35.3350)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FA2 #33A22F
analogous
#642FA2 #9E2FA2 #A22F6C
triadic
#9E2FA2 #A29E2F #2FA29E
tetradic
#9E2FA2 #A2642F #33A22F #2F6CA2
square
#9E2FA2 #A2642F #33A22F #2F6CA2
split-complementary
#9E2FA2 #6CA22F #2FA264
monochromatic
#411343 #702173 #9E2FA2 #C445C9 #D375D7

Accessibility & contrast

On white

6.21
#9E2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9E2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FA2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FA2#FFFFFF#000000##FFFFFF
##9E2FA21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#4A669F
Tritanopia (blue-blind)
#A24165
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2fa2;
/* rgb */ color: rgb(158, 47, 162);
/* oklch */ color: oklch(51.8% 0.196 326.5);
Tailwind
colors: {
  custom: {
    50: '#be72be',
    500: '#9e2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fa2;
$custom-light: #be72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fa2",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 297.913,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.19608,
    "h": 326.5
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#9E2FA2
secondary
#71BF6E
accent
#DE494F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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