#9E2FBE#9E2FBE

#9E2FBE is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.220 H 317.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9E2FBE
RGBrgb(158, 47, 190)
HSLhsl(287, 60%, 46%)
HSVhsv(287, 75%, 75%)
CMYKcmyk(16.8%, 75.3%, 0%, 25.5%)
CIE-LABlab(42.79, 64.39, -52.86)
CIE-LCHlch(42.79, 83.31, 320.62°)
OKLaboklab(53.55% 0.1616 -0.1487)
OKLCHoklch(53.55% 0.22 317.4)
XYZxyz(24.4100, 13.0209, 49.9327)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FBE #4FBE2F
analogous
#562FBE #9E2FBE #BE2F97
triadic
#9E2FBE #BE9E2F #2FBE9E
tetradic
#9E2FBE #BE562F #4FBE2F #2F97BE
square
#9E2FBE #BE562F #4FBE2F #2F97BE
split-complementary
#9E2FBE #97BE2F #2FBE56
monochromatic
#4C175C #75238D #9E2FBE #B855D5 #CD86E1

Accessibility & contrast

On white

5.83
#9E2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9E2FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FBE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FBE#FFFFFF#000000##FFFFFF
##9E2FBE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3368BB
Tritanopia (blue-blind)
#9D4E75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2fbe;
/* rgb */ color: rgb(158, 47, 190);
/* oklch */ color: oklch(53.5% 0.220 317.4);
Tailwind
colors: {
  custom: {
    50: '#bf73d2',
    500: '#9e2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fbe;
$custom-light: #bf73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fbe",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 286.573,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.21965,
    "h": 317.4
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#9E2FBE
secondary
#8FCB7E
accent
#E34468
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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