#9E2DB3#9E2DB3

#9E2DB3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.212 H 320.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9E2DB3
RGBrgb(158, 45, 179)
HSLhsl(291, 60%, 44%)
HSVhsv(291, 75%, 70%)
CMYKcmyk(11.7%, 74.9%, 0%, 29.8%)
CIE-LABlab(41.85, 63.02, -47.92)
CIE-LCHlch(41.85, 79.17, 322.75°)
OKLaboklab(52.65% 0.1646 -0.1342)
OKLCHoklch(52.65% 0.212 320.8)
XYZxyz(23.1747, 12.4018, 43.8122)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DB3 #42B32D
analogous
#5B2DB3 #9E2DB3 #B32D85
triadic
#9E2DB3 #B39E2D #2DB39E
tetradic
#9E2DB3 #B35B2D #42B32D #2D85B3
square
#9E2DB3 #B35B2D #42B32D #2D85B3
split-complementary
#9E2DB3 #85B32D #2DB35B
monochromatic
#481451 #732182 #9E2DB3 #BD4BD2 #CF7CDE

Accessibility & contrast

On white

6.03
#9E2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9E2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DB3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DB3#FFFFFF#000000##FFFFFF
##9E2DB31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3C67B0
Tritanopia (blue-blind)
#9F486E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2db3;
/* rgb */ color: rgb(158, 45, 179);
/* oklch */ color: oklch(52.6% 0.212 320.8);
Tailwind
colors: {
  custom: {
    50: '#bf72ca',
    500: '#9e2db3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2db3;
$custom-light: #bf72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2db3",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 290.597,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52648,
    "c": 0.21239,
    "h": 320.8
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

primary
#9E2DB3
secondary
#82C775
accent
#E3455E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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