#9E2EBC#9E2EBC

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

Color values

HEX#9E2EBC
RGBrgb(158, 46, 188)
HSLhsl(287, 61%, 46%)
HSVhsv(287, 76%, 74%)
CMYKcmyk(16%, 75.5%, 0%, 26.3%)
CIE-LABlab(42.54, 64.36, -52.09)
CIE-LCHlch(42.54, 82.80, 321.01°)
OKLaboklab(53.33% 0.1628 -0.1465)
OKLCHoklch(53.33% 0.219 318)
XYZxyz(24.1534, 12.8550, 48.7762)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EBC #4CBC2E
analogous
#572EBC #9E2EBC #BC2E93
triadic
#9E2EBC #BC9E2E #2EBC9E
tetradic
#9E2EBC #BC572E #4CBC2E #2E93BC
square
#9E2EBC #BC572E #4CBC2E #2E93BC
split-complementary
#9E2EBC #93BC2E #2EBC57
monochromatic
#4B165A #75228B #9E2EBC #B952D5 #CD84E1

Accessibility & contrast

On white

5.88
#9E2EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9E2EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EBC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EBC#FFFFFF#000000##FFFFFF
##9E2EBC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#9D4C74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2ebc;
/* rgb */ color: rgb(158, 46, 188);
/* oklch */ color: oklch(53.3% 0.219 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf73d1',
    500: '#9e2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ebc;
$custom-light: #bf73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ebc",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 287.324,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.21897,
    "h": 318
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

primary
#9E2EBC
secondary
#8CCA7C
accent
#E44466
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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