#9E2DA5#9E2DA5

#9E2DA5 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.201 H 325.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9E2DA5
RGBrgb(158, 45, 165)
HSLhsl(297, 57%, 41%)
HSVhsv(297, 73%, 65%)
CMYKcmyk(4.2%, 72.7%, 0%, 35.3%)
CIE-LABlab(41.00, 60.52, -40.95)
CIE-LCHlch(41.00, 73.07, 325.91°)
OKLaboklab(51.77% 0.1654 -0.1139)
OKLCHoklch(51.77% 0.201 325.4)
XYZxyz(21.8300, 11.8639, 36.7302)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DA5 #34A52D
analogous
#622DA5 #9E2DA5 #A52D70
triadic
#9E2DA5 #A59E2D #2DA59E
tetradic
#9E2DA5 #A5622D #34A52D #2D70A5
square
#9E2DA5 #A5622D #34A52D #2D70A5
split-complementary
#9E2DA5 #70A52D #2DA562
monochromatic
#421345 #702075 #9E2DA5 #C443CC #D373D9

Accessibility & contrast

On white

6.23
#9E2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9E2DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DA5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DA5#FFFFFF#000000##FFFFFF
##9E2DA51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0958A8
Deuteranopia (green-blind)
#4765A2
Tritanopia (blue-blind)
#A24166
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2da5;
/* rgb */ color: rgb(158, 45, 165);
/* oklch */ color: oklch(51.8% 0.201 325.4);
Tailwind
colors: {
  custom: {
    50: '#be71c0',
    500: '#9e2da5',
    950: '#000000',
  },
}
SCSS
$custom: #9e2da5;
$custom-light: #be71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2da5",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 296.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.20081,
    "h": 325.4
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#9E2DA5
secondary
#72C16D
accent
#E04750
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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