#9E2FBC#9E2FBC

#9E2FBC is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.218 H 318.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9E2FBC
RGBrgb(158, 47, 188)
HSLhsl(287, 60%, 46%)
HSVhsv(287, 75%, 74%)
CMYKcmyk(16%, 75%, 0%, 26.3%)
CIE-LABlab(42.66, 64.01, -51.90)
CIE-LCHlch(42.66, 82.41, 320.97°)
OKLaboklab(53.41% 0.1619 -0.1459)
OKLCHoklch(53.41% 0.218 318)
XYZxyz(24.1929, 12.9341, 48.7894)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FBC #4DBC2F
analogous
#572FBC #9E2FBC #BC2F93
triadic
#9E2FBC #BC9E2F #2FBC9E
tetradic
#9E2FBC #BC572F #4DBC2F #2F93BC
square
#9E2FBC #BC572F #4DBC2F #2F93BC
split-complementary
#9E2FBC #93BC2F #2FBC57
monochromatic
#4C175A #75238B #9E2FBC #B954D4 #CD85E0

Accessibility & contrast

On white

5.86
#9E2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9E2FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FBC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FBC#FFFFFF#000000##FFFFFF
##9E2FBC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#9D4D74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2fbc;
/* rgb */ color: rgb(158, 47, 188);
/* oklch */ color: oklch(53.4% 0.218 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf73d1',
    500: '#9e2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fbc;
$custom-light: #bf73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fbc",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 287.234,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.21793,
    "h": 318
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#9E2FBC
secondary
#8DCA7D
accent
#E34566
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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