#9E2DCA#9E2DCA

#9E2DCA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.232 H 314.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9E2DCA
RGBrgb(158, 45, 202)
HSLhsl(283, 64%, 48%)
HSVhsv(283, 78%, 79%)
CMYKcmyk(21.8%, 77.7%, 0%, 20.8%)
CIE-LABlab(43.38, 67.38, -58.91)
CIE-LCHlch(43.38, 89.50, 318.84°)
OKLaboklab(54.21% 0.1615 -0.1665)
OKLCHoklch(54.21% 0.232 314.1)
XYZxyz(25.6978, 13.4110, 57.1006)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DCA #59CA2D
analogous
#4F2DCA #9E2DCA #CA2DA7
triadic
#9E2DCA #CA9E2D #2DCA9E
tetradic
#9E2DCA #CA4F2D #59CA2D #2DA7CA
square
#9E2DCA #CA4F2D #59CA2D #2DA7CA
split-complementary
#9E2DCA #A7CA2D #2DCA4F
monochromatic
#501766 #772298 #9E2DCA #B65ADA #CC8CE5

Accessibility & contrast

On white

5.70
#9E2DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9E2DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DCA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DCA#FFFFFF#000000##FFFFFF
##9E2DCA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#1F69C7
Tritanopia (blue-blind)
#9A527B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e2dca;
/* rgb */ color: rgb(158, 45, 202);
/* oklch */ color: oklch(54.2% 0.232 314.1);
Tailwind
colors: {
  custom: {
    50: '#bf73db',
    500: '#9e2dca',
    950: '#000000',
  },
}
SCSS
$custom: #9e2dca;
$custom-light: #bf73db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2dca",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 283.185,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.23194,
    "h": 314.1
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#9E2DCA
secondary
#99CF83
accent
#E74170
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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