#9E2DCC#9E2DCC

#9E2DCC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.4% C 0.234 H 313.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9E2DCC
RGBrgb(158, 45, 204)
HSLhsl(283, 64%, 49%)
HSVhsv(283, 78%, 80%)
CMYKcmyk(22.5%, 77.9%, 0%, 20%)
CIE-LABlab(43.52, 67.77, -59.84)
CIE-LCHlch(43.52, 90.41, 318.56°)
OKLaboklab(54.36% 0.1611 -0.1692)
OKLCHoklch(54.36% 0.234 313.6)
XYZxyz(25.9361, 13.5064, 58.3558)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DCC #5BCC2D
analogous
#4F2DCC #9E2DCC #CC2DAB
triadic
#9E2DCC #CC9E2D #2DCC9E
tetradic
#9E2DCC #CC4F2D #5BCC2D #2DABCC
square
#9E2DCC #CC4F2D #5BCC2D #2DABCC
split-complementary
#9E2DCC #ABCC2D #2DCC4F
monochromatic
#501768 #77229A #9E2DCC #B65BDB #CC8DE6

Accessibility & contrast

On white

5.67
#9E2DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9E2DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DCC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DCC#FFFFFF#000000##FFFFFF
##9E2DCC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#1A69C9
Tritanopia (blue-blind)
#99537C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e2dcc;
/* rgb */ color: rgb(158, 45, 204);
/* oklch */ color: oklch(54.4% 0.234 313.6);
Tailwind
colors: {
  custom: {
    50: '#c073dc',
    500: '#9e2dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9e2dcc;
$custom-light: #c073dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2dcc",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 282.642,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54356,
    "c": 0.23367,
    "h": 313.6
  },
  "luminance": 0.13506
}

Semantic roles & 50–950 ramp

primary
#9E2DCC
secondary
#9AD085
accent
#E74171
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E2DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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