#9E2AC2#9E2AC2

#9E2AC2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.228 H 316.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9E2AC2
RGBrgb(158, 42, 194)
HSLhsl(286, 64%, 46%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(18.6%, 78.4%, 0%, 23.9%)
CIE-LABlab(42.49, 66.80, -55.69)
CIE-LCHlch(42.49, 86.96, 320.18°)
OKLaboklab(53.42% 0.1653 -0.157)
OKLCHoklch(53.42% 0.228 316.5)
XYZxyz(24.6646, 12.8211, 52.2040)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AC2 #4EC22A
analogous
#522AC2 #9E2AC2 #C22A9A
triadic
#9E2AC2 #C29E2A #2AC29E
tetradic
#9E2AC2 #C2522A #4EC22A #2A9AC2
square
#9E2AC2 #C2522A #4EC22A #2A9AC2
split-complementary
#9E2AC2 #9AC22A #2AC252
monochromatic
#4C145D #751F90 #9E2AC2 #B950D9 #CD82E4

Accessibility & contrast

On white

5.89
#9E2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9E2AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AC2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AC2#FFFFFF#000000##FFFFFF
##9E2AC21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2967BF
Tritanopia (blue-blind)
#9C4D76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2ac2;
/* rgb */ color: rgb(158, 42, 194);
/* oklch */ color: oklch(53.4% 0.228 316.5);
Tailwind
colors: {
  custom: {
    50: '#bf71d5',
    500: '#9e2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ac2;
$custom-light: #bf71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ac2",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 285.789,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.22794,
    "h": 316.5
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#9E2AC2
secondary
#8ECD7B
accent
#E74068
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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