#9E2DA4#9E2DA4

#9E2DA4 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.200 H 325.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9E2DA4
RGBrgb(158, 45, 164)
HSLhsl(297, 57%, 41%)
HSVhsv(297, 73%, 64%)
CMYKcmyk(3.7%, 72.6%, 0%, 35.7%)
CIE-LABlab(40.94, 60.34, -40.45)
CIE-LCHlch(40.94, 72.64, 326.17°)
OKLaboklab(51.71% 0.1654 -0.1124)
OKLCHoklch(51.71% 0.2 325.8)
XYZxyz(21.7393, 11.8276, 36.2527)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DA4 #33A42D
analogous
#622DA4 #9E2DA4 #A42D6E
triadic
#9E2DA4 #A49E2D #2DA49E
tetradic
#9E2DA4 #A4622D #33A42D #2D6EA4
square
#9E2DA4 #A4622D #33A42D #2D6EA4
split-complementary
#9E2DA4 #6EA42D #2DA462
monochromatic
#411344 #702074 #9E2DA4 #C443CB #D373D9

Accessibility & contrast

On white

6.24
#9E2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2DA4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DA4#FFFFFF#000000##FFFFFF
##9E2DA41.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A7
Deuteranopia (green-blind)
#4765A1
Tritanopia (blue-blind)
#A24166
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2da4;
/* rgb */ color: rgb(158, 45, 164);
/* oklch */ color: oklch(51.7% 0.200 325.8);
Tailwind
colors: {
  custom: {
    50: '#be71bf',
    500: '#9e2da4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2da4;
$custom-light: #be71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2da4",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 296.975,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.20001,
    "h": 325.8
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#9E2DA4
secondary
#71C06D
accent
#E0484F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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