#9E2AAF#9E2AAF

#9E2AAF is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.212 H 322.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9E2AAF
RGBrgb(158, 42, 175)
HSLhsl(292, 61%, 43%)
HSVhsv(292, 76%, 69%)
CMYKcmyk(9.7%, 76%, 0%, 31.4%)
CIE-LABlab(41.25, 63.29, -46.51)
CIE-LCHlch(41.25, 78.54, 323.69°)
OKLaboklab(52.14% 0.1676 -0.1301)
OKLCHoklch(52.14% 0.212 322.2)
XYZxyz(22.6656, 12.0215, 41.6757)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AAF #3BAF2A
analogous
#5C2AAF #9E2AAF #AF2A7D
triadic
#9E2AAF #AF9E2A #2AAF9E
tetradic
#9E2AAF #AF5C2A #3BAF2A #2A7DAF
square
#9E2AAF #AF5C2A #3BAF2A #2A7DAF
split-complementary
#9E2AAF #7DAF2A #2AAF5C
monochromatic
#45124C #711E7E #9E2AAF #C044D2 #D175DE

Accessibility & contrast

On white

6.17
#9E2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9E2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AAF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AAF#FFFFFF#000000##FFFFFF
##9E2AAF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#A0446B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2aaf;
/* rgb */ color: rgb(158, 42, 175);
/* oklch */ color: oklch(52.1% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#bf71c7',
    500: '#9e2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #9e2aaf;
$custom-light: #bf71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2aaf",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 292.331,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.21217,
    "h": 322.2
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#9E2AAF
secondary
#7AC66F
accent
#E44358
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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