#9E2FB4#9E2FB4

#9E2FB4 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.211 H 320.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9E2FB4
RGBrgb(158, 47, 180)
HSLhsl(290, 59%, 45%)
HSVhsv(290, 74%, 71%)
CMYKcmyk(12.2%, 73.9%, 0%, 29.4%)
CIE-LABlab(42.15, 62.51, -48.02)
CIE-LCHlch(42.15, 78.83, 322.47°)
OKLaboklab(52.88% 0.1627 -0.1345)
OKLCHoklch(52.88% 0.211 320.4)
XYZxyz(23.3543, 12.5986, 44.3728)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FB4 #45B42F
analogous
#5C2FB4 #9E2FB4 #B42F88
triadic
#9E2FB4 #B49E2F #2FB49E
tetradic
#9E2FB4 #B45C2F #45B42F #2F88B4
square
#9E2FB4 #B45C2F #45B42F #2F88B4
split-complementary
#9E2FB4 #88B42F #2FB45C
monochromatic
#491653 #732283 #9E2FB4 #BC4FD1 #CE80DE

Accessibility & contrast

On white

5.97
#9E2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9E2FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FB4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FB4#FFFFFF#000000##FFFFFF
##9E2FB41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2fb4;
/* rgb */ color: rgb(158, 47, 180);
/* oklch */ color: oklch(52.9% 0.211 320.4);
Tailwind
colors: {
  custom: {
    50: '#bf73cb',
    500: '#9e2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fb4;
$custom-light: #bf73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fb4",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 290.075,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.2111,
    "h": 320.4
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#9E2FB4
secondary
#85C778
accent
#E24660
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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