#9E2FBD#9E2FBD

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

Color values

HEX#9E2FBD
RGBrgb(158, 47, 189)
HSLhsl(287, 60%, 46%)
HSVhsv(287, 75%, 74%)
CMYKcmyk(16.4%, 75.1%, 0%, 25.9%)
CIE-LABlab(42.73, 64.20, -52.38)
CIE-LCHlch(42.73, 82.86, 320.79°)
OKLaboklab(53.48% 0.1618 -0.1473)
OKLCHoklch(53.48% 0.219 317.7)
XYZxyz(24.3011, 12.9773, 49.3591)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FBD #4EBD2F
analogous
#572FBD #9E2FBD #BD2F95
triadic
#9E2FBD #BD9E2F #2FBD9E
tetradic
#9E2FBD #BD572F #4EBD2F #2F95BD
square
#9E2FBD #BD572F #4EBD2F #2F95BD
split-complementary
#9E2FBD #95BD2F #2FBD57
monochromatic
#4C175B #75238C #9E2FBD #B955D5 #CD86E1

Accessibility & contrast

On white

5.84
#9E2FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2FBD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FBD#FFFFFF#000000##FFFFFF
##9E2FBD1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3468BA
Tritanopia (blue-blind)
#9D4D74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2fbd;
/* rgb */ color: rgb(158, 47, 189);
/* oklch */ color: oklch(53.5% 0.219 317.7);
Tailwind
colors: {
  custom: {
    50: '#bf73d2',
    500: '#9e2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fbd;
$custom-light: #bf73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fbd",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 286.901,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.21879,
    "h": 317.7
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#9E2FBD
secondary
#8ECA7E
accent
#E34467
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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