#9E2ECB#9E2ECB

#9E2ECB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.4% C 0.232 H 313.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9E2ECB
RGBrgb(158, 46, 203)
HSLhsl(283, 63%, 49%)
HSVhsv(283, 77%, 80%)
CMYKcmyk(22.2%, 77.3%, 0%, 20.4%)
CIE-LABlab(43.56, 67.25, -59.19)
CIE-LCHlch(43.56, 89.59, 318.65°)
OKLaboklab(54.36% 0.1605 -0.1673)
OKLCHoklch(54.36% 0.232 313.8)
XYZxyz(25.8552, 13.5358, 57.7390)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2ECB #5BCB2E
analogous
#502ECB #9E2ECB #CB2EAA
triadic
#9E2ECB #CB9E2E #2ECB9E
tetradic
#9E2ECB #CB502E #5BCB2E #2EAACB
square
#9E2ECB #CB502E #5BCB2E #2EAACB
split-complementary
#9E2ECB #AACB2E #2ECB50
monochromatic
#501767 #772399 #9E2ECB #B65CDA #CC8EE5

Accessibility & contrast

On white

5.66
#9E2ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9E2ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2ECB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2ECB#FFFFFF#000000##FFFFFF
##9E2ECB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#1E69C8
Tritanopia (blue-blind)
#99537C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e2ecb;
/* rgb */ color: rgb(158, 46, 203);
/* oklch */ color: oklch(54.4% 0.232 313.8);
Tailwind
colors: {
  custom: {
    50: '#bf74dc',
    500: '#9e2ecb',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ecb;
$custom-light: #bf74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ecb",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 203
  },
  "hsl": {
    "h": 282.803,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.23186,
    "h": 313.8
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#9E2ECB
secondary
#9AD085
accent
#E64271
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E2ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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