#9E2BC4#9E2BC4

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

Color values

HEX#9E2BC4
RGBrgb(158, 43, 196)
HSLhsl(285, 64%, 47%)
HSVhsv(285, 78%, 77%)
CMYKcmyk(19.4%, 78.1%, 0%, 23.1%)
CIE-LABlab(42.74, 66.86, -56.46)
CIE-LCHlch(42.74, 87.51, 319.82°)
OKLaboklab(53.63% 0.1641 -0.1593)
OKLCHoklch(53.63% 0.229 315.9)
XYZxyz(24.9267, 12.9834, 53.4069)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BC4 #51C42B
analogous
#522BC4 #9E2BC4 #C42B9E
triadic
#9E2BC4 #C49E2B #2BC49E
tetradic
#9E2BC4 #C4522B #51C42B #2B9EC4
square
#9E2BC4 #C4522B #51C42B #2B9EC4
split-complementary
#9E2BC4 #9EC42B #2BC452
monochromatic
#4D1560 #762092 #9E2BC4 #B853D9 #CD85E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2BC4#FFFFFF#000000##FFFFFF
##9E2BC41.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)
#005EC8
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#9B4E77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2bc4;
/* rgb */ color: rgb(158, 43, 196);
/* oklch */ color: oklch(53.6% 0.229 315.9);
Tailwind
colors: {
  custom: {
    50: '#bf72d7',
    500: '#9e2bc4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bc4;
$custom-light: #bf72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bc4",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 285.098,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.2287,
    "h": 315.9
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#9E2BC4
secondary
#91CE7D
accent
#E7416A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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