#9E2FB7#9E2FB7

#9E2FB7 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.214 H 319.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9E2FB7
RGBrgb(158, 47, 183)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 74%, 72%)
CMYKcmyk(13.7%, 74.3%, 0%, 28.2%)
CIE-LABlab(42.34, 63.07, -49.48)
CIE-LCHlch(42.34, 80.17, 321.88°)
OKLaboklab(53.08% 0.1624 -0.1388)
OKLCHoklch(53.08% 0.214 319.5)
XYZxyz(23.6632, 12.7222, 45.9998)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FB7 #48B72F
analogous
#5A2FB7 #9E2FB7 #B72F8C
triadic
#9E2FB7 #B79E2F #2FB79E
tetradic
#9E2FB7 #B75A2F #48B72F #2F8CB7
square
#9E2FB7 #B75A2F #48B72F #2F8CB7
split-complementary
#9E2FB7 #8CB72F #2FB75A
monochromatic
#4A1656 #742286 #9E2FB7 #BB51D2 #CE82DF

Accessibility & contrast

On white

5.93
#9E2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9E2FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FB7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FB7#FFFFFF#000000##FFFFFF
##9E2FB71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#9E4B71
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2fb7;
/* rgb */ color: rgb(158, 47, 183);
/* oklch */ color: oklch(53.1% 0.214 319.5);
Tailwind
colors: {
  custom: {
    50: '#bf73cd',
    500: '#9e2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fb7;
$custom-light: #bf73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fb7",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 288.971,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.21365,
    "h": 319.5
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#9E2FB7
secondary
#88C87A
accent
#E24562
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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