#9E2AA2#9E2AA2

#9E2AA2 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.202 H 326.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9E2AA2
RGBrgb(158, 42, 162)
HSLhsl(298, 59%, 40%)
HSVhsv(298, 74%, 64%)
CMYKcmyk(2.5%, 74.1%, 0%, 36.5%)
CIE-LABlab(40.47, 61.02, -40.00)
CIE-LCHlch(40.47, 72.96, 326.75°)
OKLaboklab(51.33% 0.1683 -0.1111)
OKLCHoklch(51.33% 0.202 326.6)
XYZxyz(21.4497, 11.5351, 35.2722)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AA2 #2EA22A
analogous
#622AA2 #9E2AA2 #A22A6A
triadic
#9E2AA2 #A29E2A #2AA29E
tetradic
#9E2AA2 #A2622A #2EA22A #2A6AA2
square
#9E2AA2 #A2622A #2EA22A #2A6AA2
split-complementary
#9E2AA2 #6AA22A #2AA262
monochromatic
#3F1141 #6F1D71 #9E2AA2 #C83DCD #D66DD9

Accessibility & contrast

On white

6.35
#9E2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9E2AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AA2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AA2#FFFFFF#000000##FFFFFF
##9E2AA21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0856A5
Deuteranopia (green-blind)
#47649F
Tritanopia (blue-blind)
#A23E64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2aa2;
/* rgb */ color: rgb(158, 42, 162);
/* oklch */ color: oklch(51.3% 0.202 326.6);
Tailwind
colors: {
  custom: {
    50: '#be70be',
    500: '#9e2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2aa2;
$custom-light: #be70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2aa2",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 298,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.20167,
    "h": 326.6
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#9E2AA2
secondary
#6BC068
accent
#E2464B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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