#9E2FB8#9E2FB8

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

Color values

HEX#9E2FB8
RGBrgb(158, 47, 184)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 74%, 72%)
CMYKcmyk(14.1%, 74.5%, 0%, 27.8%)
CIE-LABlab(42.41, 63.26, -49.97)
CIE-LCHlch(42.41, 80.61, 321.70°)
OKLaboklab(53.15% 0.1623 -0.1403)
OKLCHoklch(53.15% 0.215 319.2)
XYZxyz(23.7677, 12.7640, 46.5499)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FB8 #49B82F
analogous
#592FB8 #9E2FB8 #B82F8D
triadic
#9E2FB8 #B89E2F #2FB89E
tetradic
#9E2FB8 #B8592F #49B82F #2F8DB8
square
#9E2FB8 #B8592F #49B82F #2F8DB8
split-complementary
#9E2FB8 #8DB82F #2FB859
monochromatic
#4A1657 #742387 #9E2FB8 #BA52D3 #CE82DF

Accessibility & contrast

On white

5.91
#9E2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9E2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FB8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FB8#FFFFFF#000000##FFFFFF
##9E2FB81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3968B5
Tritanopia (blue-blind)
#9E4B72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2fb8;
/* rgb */ color: rgb(158, 47, 184);
/* oklch */ color: oklch(53.1% 0.214 319.2);
Tailwind
colors: {
  custom: {
    50: '#bf73ce',
    500: '#9e2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fb8;
$custom-light: #bf73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fb8",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 288.613,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53145,
    "c": 0.2145,
    "h": 319.2
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

primary
#9E2FB8
secondary
#89C87B
accent
#E24563
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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