#9E2EC0#9E2EC0

#9E2EC0 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.222 H 316.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9E2EC0
RGBrgb(158, 46, 192)
HSLhsl(286, 61%, 47%)
HSVhsv(286, 76%, 75%)
CMYKcmyk(17.7%, 76%, 0%, 24.7%)
CIE-LABlab(42.81, 65.12, -54.01)
CIE-LCHlch(42.81, 84.60, 320.33°)
OKLaboklab(53.6% 0.1622 -0.1521)
OKLCHoklch(53.6% 0.222 316.8)
XYZxyz(24.5905, 13.0299, 51.0787)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EC0 #50C02E
analogous
#552EC0 #9E2EC0 #C02E99
triadic
#9E2EC0 #C09E2E #2EC09E
tetradic
#9E2EC0 #C0552E #50C02E #2E99C0
square
#9E2EC0 #C0552E #50C02E #2E99C0
split-complementary
#9E2EC0 #99C02E #2EC055
monochromatic
#4D165D #75228F #9E2EC0 #B855D6 #CD86E2

Accessibility & contrast

On white

5.82
#9E2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9E2EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EC0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EC0#FFFFFF#000000##FFFFFF
##9E2EC01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#2F68BD
Tritanopia (blue-blind)
#9C4E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2ec0;
/* rgb */ color: rgb(158, 46, 192);
/* oklch */ color: oklch(53.6% 0.222 316.8);
Tailwind
colors: {
  custom: {
    50: '#bf73d4',
    500: '#9e2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ec0;
$custom-light: #bf73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ec0",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 286.027,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53597,
    "c": 0.22239,
    "h": 316.8
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#9E2EC0
secondary
#90CC7E
accent
#E44369
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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