#9E2FAA#9E2FAA

#9E2FAA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.203 H 323.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9E2FAA
RGBrgb(158, 47, 170)
HSLhsl(294, 57%, 43%)
HSVhsv(294, 72%, 67%)
CMYKcmyk(7.1%, 72.4%, 0%, 33.3%)
CIE-LABlab(41.54, 60.69, -43.07)
CIE-LCHlch(41.54, 74.42, 324.64°)
OKLaboklab(52.25% 0.1633 -0.1201)
OKLCHoklch(52.25% 0.203 323.7)
XYZxyz(22.3721, 12.2058, 39.2000)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FAA #3BAA2F
analogous
#602FAA #9E2FAA #AA2F79
triadic
#9E2FAA #AA9E2F #2FAA9E
tetradic
#9E2FAA #AA602F #3BAA2F #2F79AA
square
#9E2FAA #AA602F #3BAA2F #2F79AA
split-complementary
#9E2FAA #79AA2F #2FAA60
monochromatic
#45144A #71227A #9E2FAA #C049CD #D179DA

Accessibility & contrast

On white

6.10
#9E2FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9E2FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FAA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FAA#FFFFFF#000000##FFFFFF
##9E2FAA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAD
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#A1456A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2faa;
/* rgb */ color: rgb(158, 47, 170);
/* oklch */ color: oklch(52.3% 0.203 323.7);
Tailwind
colors: {
  custom: {
    50: '#be73c4',
    500: '#9e2faa',
    950: '#000000',
  },
}
SCSS
$custom: #9e2faa;
$custom-light: #be73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2faa",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 294.146,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.20269,
    "h": 323.7
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#9E2FAA
secondary
#7AC272
accent
#E04857
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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