#9E2EA2#9E2EA2

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

Color values

HEX#9E2EA2
RGBrgb(158, 46, 162)
HSLhsl(298, 56%, 41%)
HSVhsv(298, 72%, 64%)
CMYKcmyk(2.5%, 71.6%, 0%, 36.5%)
CIE-LABlab(40.95, 59.64, -39.23)
CIE-LCHlch(40.95, 71.39, 326.66°)
OKLaboklab(51.68% 0.1645 -0.1089)
OKLCHoklch(51.68% 0.197 326.5)
XYZxyz(21.5987, 11.8332, 35.3218)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EA2 #32A22E
analogous
#642EA2 #9E2EA2 #A22E6C
triadic
#9E2EA2 #A29E2E #2EA29E
tetradic
#9E2EA2 #A2642E #32A22E #2E6CA2
square
#9E2EA2 #A2642E #32A22E #2E6CA2
split-complementary
#9E2EA2 #6CA22E #2EA264
monochromatic
#411343 #702072 #9E2EA2 #C543CA #D473D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2EA2#FFFFFF#000000##FFFFFF
##9E2EA21.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)
#1458A5
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#A24065
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2ea2;
/* rgb */ color: rgb(158, 46, 162);
/* oklch */ color: oklch(51.7% 0.197 326.5);
Tailwind
colors: {
  custom: {
    50: '#be72be',
    500: '#9e2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ea2;
$custom-light: #be72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ea2",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 297.931,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.19725,
    "h": 326.5
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#9E2EA2
secondary
#70BF6D
accent
#DF494E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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