#9E2DA9#9E2DA9

#9E2DA9 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.204 H 324.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9E2DA9
RGBrgb(158, 45, 169)
HSLhsl(295, 58%, 42%)
HSVhsv(295, 73%, 66%)
CMYKcmyk(6.5%, 73.4%, 0%, 33.7%)
CIE-LABlab(41.23, 61.22, -42.96)
CIE-LCHlch(41.23, 74.79, 324.94°)
OKLaboklab(52.02% 0.1653 -0.1198)
OKLCHoklch(52.02% 0.204 324.1)
XYZxyz(22.1998, 12.0118, 38.6776)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DA9 #38A92D
analogous
#602DA9 #9E2DA9 #A92D76
triadic
#9E2DA9 #A99E2D #2DA99E
tetradic
#9E2DA9 #A9602D #38A92D #2D76A9
square
#9E2DA9 #A9602D #38A92D #2D76A9
split-complementary
#9E2DA9 #76A92D #2DA960
monochromatic
#441348 #712079 #9E2DA9 #C246CE #D276DA

Accessibility & contrast

On white

6.17
#9E2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9E2DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DA9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DA9#FFFFFF#000000##FFFFFF
##9E2DA91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#A14369
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2da9;
/* rgb */ color: rgb(158, 45, 169);
/* oklch */ color: oklch(52.0% 0.204 324.1);
Tailwind
colors: {
  custom: {
    50: '#be72c3',
    500: '#9e2da9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2da9;
$custom-light: #be72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2da9",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 294.677,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.20409,
    "h": 324.1
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#9E2DA9
secondary
#77C26F
accent
#E14754
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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