#9E2FBF#9E2FBF

#9E2FBF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.221 H 317.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9E2FBF
RGBrgb(158, 47, 191)
HSLhsl(286, 61%, 47%)
HSVhsv(286, 75%, 75%)
CMYKcmyk(17.3%, 75.4%, 0%, 25.1%)
CIE-LABlab(42.86, 64.58, -53.34)
CIE-LCHlch(42.86, 83.76, 320.45°)
OKLaboklab(53.61% 0.1615 -0.1501)
OKLCHoklch(53.61% 0.221 317.1)
XYZxyz(24.5196, 13.0648, 50.5103)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FBF #50BF2F
analogous
#562FBF #9E2FBF #BF2F98
triadic
#9E2FBF #BF9E2F #2FBF9E
tetradic
#9E2FBF #BF562F #50BF2F #2F98BF
square
#9E2FBF #BF562F #50BF2F #2F98BF
split-complementary
#9E2FBF #98BF2F #2FBF56
monochromatic
#4D175D #75238E #9E2FBF #B856D5 #CD87E1

Accessibility & contrast

On white

5.81
#9E2FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9E2FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FBF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FBF#FFFFFF#000000##FFFFFF
##9E2FBF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#9C4E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2fbf;
/* rgb */ color: rgb(158, 47, 191);
/* oklch */ color: oklch(53.6% 0.221 317.1);
Tailwind
colors: {
  custom: {
    50: '#bf73d3',
    500: '#9e2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fbf;
$custom-light: #bf73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fbf",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 286.25,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53613,
    "c": 0.22051,
    "h": 317.1
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#9E2FBF
secondary
#90CB7F
accent
#E44469
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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