#9E2ED3#9E2ED3

#9E2ED3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.9% C 0.239 H 311.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9E2ED3
RGBrgb(158, 46, 211)
HSLhsl(281, 65%, 50%)
HSVhsv(281, 78%, 83%)
CMYKcmyk(25.1%, 78.2%, 0%, 17.3%)
CIE-LABlab(44.13, 68.83, -62.89)
CIE-LCHlch(44.13, 93.24, 317.58°)
OKLaboklab(54.94% 0.159 -0.1782)
OKLCHoklch(54.94% 0.239 311.7)
XYZxyz(26.8332, 13.9270, 62.8900)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2ED3 #63D32E
analogous
#4B2ED3 #9E2ED3 #D32EB6
triadic
#9E2ED3 #D39E2E #2ED39E
tetradic
#9E2ED3 #D34B2E #63D32E #2EB6D3
square
#9E2ED3 #D34B2E #63D32E #2EB6D3
split-complementary
#9E2ED3 #B6D32E #2ED34B
monochromatic
#53176F #7922A2 #9E2ED3 #B561DE #CD93E8

Accessibility & contrast

On white

5.55
#9E2ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9E2ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2ED3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2ED3#FFFFFF#000000##FFFFFF
##9E2ED31.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#026AD0
Tritanopia (blue-blind)
#975781
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e2ed3;
/* rgb */ color: rgb(158, 46, 211);
/* oklch */ color: oklch(54.9% 0.239 311.7);
Tailwind
colors: {
  custom: {
    50: '#c074e1',
    500: '#9e2ed3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ed3;
$custom-light: #c074e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ed3",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 280.727,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54943,
    "c": 0.2388,
    "h": 311.7
  },
  "luminance": 0.13926
}

Semantic roles & 50–950 ramp

primary
#9E2ED3
secondary
#A1D38A
accent
#E84076
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E2ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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