#9E2FB3#9E2FB3

#9E2FB3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.210 H 320.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9E2FB3
RGBrgb(158, 47, 179)
HSLhsl(290, 58%, 44%)
HSVhsv(290, 74%, 70%)
CMYKcmyk(11.7%, 73.7%, 0%, 29.8%)
CIE-LABlab(42.09, 62.33, -47.53)
CIE-LCHlch(42.09, 78.38, 322.67°)
OKLaboklab(52.82% 0.1628 -0.1331)
OKLCHoklch(52.82% 0.21 320.7)
XYZxyz(23.2528, 12.5580, 43.8382)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FB3 #44B32F
analogous
#5C2FB3 #9E2FB3 #B32F86
triadic
#9E2FB3 #B39E2F #2FB39E
tetradic
#9E2FB3 #B35C2F #44B32F #2F86B3
square
#9E2FB3 #B35C2F #44B32F #2F86B3
split-complementary
#9E2FB3 #86B32F #2FB35C
monochromatic
#481652 #732283 #9E2FB3 #BC4FD1 #CE7FDD

Accessibility & contrast

On white

5.98
#9E2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9E2FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FB3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FB3#FFFFFF#000000##FFFFFF
##9E2FB31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#9F496F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2fb3;
/* rgb */ color: rgb(158, 47, 179);
/* oklch */ color: oklch(52.8% 0.210 320.7);
Tailwind
colors: {
  custom: {
    50: '#be73ca',
    500: '#9e2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fb3;
$custom-light: #be73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fb3",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 290.455,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5282,
    "c": 0.21025,
    "h": 320.7
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#9E2FB3
secondary
#84C678
accent
#E2465F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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