#9E2EBF#9E2EBF

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

Color values

HEX#9E2EBF
RGBrgb(158, 46, 191)
HSLhsl(286, 61%, 46%)
HSVhsv(286, 76%, 75%)
CMYKcmyk(17.3%, 75.9%, 0%, 25.1%)
CIE-LABlab(42.74, 64.93, -53.53)
CIE-LCHlch(42.74, 84.15, 320.49°)
OKLaboklab(53.53% 0.1624 -0.1507)
OKLCHoklch(53.53% 0.222 317.1)
XYZxyz(24.4801, 12.9857, 50.4971)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EBF #4FBF2E
analogous
#562EBF #9E2EBF #BF2E98
triadic
#9E2EBF #BF9E2E #2EBF9E
tetradic
#9E2EBF #BF562E #4FBF2E #2E98BF
square
#9E2EBF #BF562E #4FBF2E #2E98BF
split-complementary
#9E2EBF #98BF2E #2EBF56
monochromatic
#4C165C #75228E #9E2EBF #B854D6 #CD86E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2EBF#FFFFFF#000000##FFFFFF
##9E2EBF1.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)
#005EC3
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#9C4E75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2ebf;
/* rgb */ color: rgb(158, 46, 191);
/* oklch */ color: oklch(53.5% 0.222 317.1);
Tailwind
colors: {
  custom: {
    50: '#bf73d3',
    500: '#9e2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ebf;
$custom-light: #bf73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ebf",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 286.345,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.22153,
    "h": 317.1
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#9E2EBF
secondary
#8FCB7E
accent
#E44468
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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