#9E2DC3#9E2DC3

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

Color values

HEX#9E2DC3
RGBrgb(158, 45, 195)
HSLhsl(285, 63%, 47%)
HSVhsv(285, 77%, 76%)
CMYKcmyk(19%, 76.9%, 0%, 23.5%)
CIE-LABlab(42.89, 66.03, -55.62)
CIE-LCHlch(42.89, 86.33, 319.89°)
OKLaboklab(53.72% 0.1627 -0.1568)
OKLCHoklch(53.72% 0.226 316)
XYZxyz(24.8877, 13.0870, 52.8342)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DC3 #52C32D
analogous
#532DC3 #9E2DC3 #C32D9D
triadic
#9E2DC3 #C39E2D #2DC39E
tetradic
#9E2DC3 #C3532D #52C32D #2D9DC3
square
#9E2DC3 #C3532D #52C32D #2D9DC3
split-complementary
#9E2DC3 #9DC32D #2DC353
monochromatic
#4D1660 #762291 #9E2DC3 #B855D8 #CD87E3

Accessibility & contrast

On white

5.81
#9E2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2DC3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DC3#FFFFFF#000000##FFFFFF
##9E2DC31.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2B68C0
Tritanopia (blue-blind)
#9B4F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2dc3;
/* rgb */ color: rgb(158, 45, 195);
/* oklch */ color: oklch(53.7% 0.226 316.0);
Tailwind
colors: {
  custom: {
    50: '#bf73d6',
    500: '#9e2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2dc3;
$custom-light: #bf73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2dc3",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 285.2,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.22594,
    "h": 316
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#9E2DC3
secondary
#92CD7F
accent
#E6426B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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