#9E2EC2#9E2EC2

#9E2EC2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.224 H 316.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9E2EC2
RGBrgb(158, 46, 194)
HSLhsl(285, 62%, 47%)
HSVhsv(285, 76%, 76%)
CMYKcmyk(18.6%, 76.3%, 0%, 23.9%)
CIE-LABlab(42.94, 65.50, -54.96)
CIE-LCHlch(42.94, 85.50, 320.00°)
OKLaboklab(53.73% 0.162 -0.1549)
OKLCHoklch(53.73% 0.224 316.3)
XYZxyz(24.8136, 13.1191, 52.2537)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EC2 #52C22E
analogous
#542EC2 #9E2EC2 #C22E9C
triadic
#9E2EC2 #C29E2E #2EC29E
tetradic
#9E2EC2 #C2542E #52C22E #2E9CC2
square
#9E2EC2 #C2542E #52C22E #2E9CC2
split-complementary
#9E2EC2 #9CC22E #2EC254
monochromatic
#4D175F #762291 #9E2EC2 #B856D7 #CD88E3

Accessibility & contrast

On white

5.80
#9E2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9E2EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EC2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EC2#FFFFFF#000000##FFFFFF
##9E2EC21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2D68BF
Tritanopia (blue-blind)
#9C4F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2ec2;
/* rgb */ color: rgb(158, 46, 194);
/* oklch */ color: oklch(53.7% 0.224 316.3);
Tailwind
colors: {
  custom: {
    50: '#bf73d5',
    500: '#9e2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ec2;
$custom-light: #bf73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ec2",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 285.405,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53734,
    "c": 0.2241,
    "h": 316.3
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#9E2EC2
secondary
#92CC7F
accent
#E5436A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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