#9E2FB1#9E2FB1

#9E2FB1 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.209 H 321.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9E2FB1
RGBrgb(158, 47, 177)
HSLhsl(291, 58%, 44%)
HSVhsv(291, 73%, 69%)
CMYKcmyk(10.7%, 73.4%, 0%, 30.6%)
CIE-LABlab(41.97, 61.96, -46.54)
CIE-LCHlch(41.97, 77.50, 323.09°)
OKLaboklab(52.69% 0.1629 -0.1302)
OKLCHoklch(52.69% 0.209 321.4)
XYZxyz(23.0520, 12.4777, 42.7807)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FB1 #42B12F
analogous
#5D2FB1 #9E2FB1 #B12F83
triadic
#9E2FB1 #B19E2F #2FB19E
tetradic
#9E2FB1 #B15D2F #42B12F #2F83B1
square
#9E2FB1 #B15D2F #42B12F #2F83B1
split-complementary
#9E2FB1 #83B12F #2FB15D
monochromatic
#481550 #732281 #9E2FB1 #BD4DD0 #CF7EDD

Accessibility & contrast

On white

6.01
#9E2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9E2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FB1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FB1#FFFFFF#000000##FFFFFF
##9E2FB11.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#9F486E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2fb1;
/* rgb */ color: rgb(158, 47, 177);
/* oklch */ color: oklch(52.7% 0.209 321.4);
Tailwind
colors: {
  custom: {
    50: '#be73c9',
    500: '#9e2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fb1;
$custom-light: #be73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fb1",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 291.231,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.20856,
    "h": 321.4
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#9E2FB1
secondary
#82C576
accent
#E1475D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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