#9E2EA8#9E2EA8

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

Color values

HEX#9E2EA8
RGBrgb(158, 46, 168)
HSLhsl(295, 57%, 42%)
HSVhsv(295, 73%, 66%)
CMYKcmyk(6%, 72.6%, 0%, 34.1%)
CIE-LABlab(41.30, 60.69, -42.27)
CIE-LCHlch(41.30, 73.96, 325.15°)
OKLaboklab(52.04% 0.1643 -0.1177)
OKLCHoklch(52.04% 0.202 324.4)
XYZxyz(22.1448, 12.0516, 38.1980)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EA8 #38A82E
analogous
#612EA8 #9E2EA8 #A82E75
triadic
#9E2EA8 #A89E2E #2EA89E
tetradic
#9E2EA8 #A8612E #38A82E #2E75A8
square
#9E2EA8 #A8612E #38A82E #2E75A8
split-complementary
#9E2EA8 #75A82E #2EA861
monochromatic
#441448 #712178 #9E2EA8 #C247CD #D277DA

Accessibility & contrast

On white

6.16
#9E2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9E2EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EA8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EA8#FFFFFF#000000##FFFFFF
##9E2EA81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AB
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#A14368
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2ea8;
/* rgb */ color: rgb(158, 46, 168);
/* oklch */ color: oklch(52.0% 0.202 324.4);
Tailwind
colors: {
  custom: {
    50: '#be72c2',
    500: '#9e2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ea8;
$custom-light: #be72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ea8",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 295.082,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.20215,
    "h": 324.4
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#9E2EA8
secondary
#77C270
accent
#E04854
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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