#9E5EA2#9E5EA2

#9E5EA2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 57.8% C 0.124 H 324.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9E5EA2
RGBrgb(158, 94, 162)
HSLhsl(296, 27%, 50%)
HSVhsv(296, 42%, 64%)
CMYKcmyk(2.5%, 42%, 0%, 36.5%)
CIE-LABlab(49.36, 37.04, -26.04)
CIE-LCHlch(49.36, 45.28, 324.90°)
OKLaboklab(57.85% 0.1014 -0.0712)
OKLCHoklch(57.85% 0.124 324.9)
XYZxyz(24.6242, 17.8842, 36.3303)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5EA2 #62A25E
analogous
#7C5EA2 #9E5EA2 #A25E84
triadic
#9E5EA2 #A29E5E #5EA29E
tetradic
#9E5EA2 #A27C5E #62A25E #5E84A2
square
#9E5EA2 #A27C5E #62A25E #5E84A2
split-complementary
#9E5EA2 #84A25E #5EA27C
monochromatic
#533155 #78477B #9E5EA2 #B585B8 #CDACCF

Accessibility & contrast

On white

4.59
#9E5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9E5EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E5EA2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5EA2#FFFFFF#000000##FFFFFF
##9E5EA21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#6878A0
Tritanopia (blue-blind)
#A16578
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e5ea2;
/* rgb */ color: rgb(158, 94, 162);
/* oklch */ color: oklch(57.8% 0.124 324.9);
Tailwind
colors: {
  custom: {
    50: '#bc8dbd',
    500: '#9e5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ea2;
$custom-light: #bc8dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ea2",
  "rgb": {
    "r": 158,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 296.471,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.12395,
    "h": 324.9
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#9E5EA2
secondary
#A0BD9F
accent
#C3656A
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #9E5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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