#9E2ECA#9E2ECA

#9E2ECA is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.231 H 314.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9E2ECA
RGBrgb(158, 46, 202)
HSLhsl(283, 63%, 49%)
HSVhsv(283, 77%, 79%)
CMYKcmyk(21.8%, 77.2%, 0%, 20.8%)
CIE-LABlab(43.49, 67.05, -58.73)
CIE-LCHlch(43.49, 89.13, 318.79°)
OKLaboklab(54.29% 0.1607 -0.1659)
OKLCHoklch(54.29% 0.231 314.1)
XYZxyz(25.7364, 13.4882, 57.1134)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2ECA #5ACA2E
analogous
#502ECA #9E2ECA #CA2EA8
triadic
#9E2ECA #CA9E2E #2ECA9E
tetradic
#9E2ECA #CA502E #5ACA2E #2EA8CA
square
#9E2ECA #CA502E #5ACA2E #2EA8CA
split-complementary
#9E2ECA #A8CA2E #2ECA50
monochromatic
#501766 #772398 #9E2ECA #B65BDA #CC8DE5

Accessibility & contrast

On white

5.68
#9E2ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9E2ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2ECA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2ECA#FFFFFF#000000##FFFFFF
##9E2ECA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#2069C7
Tritanopia (blue-blind)
#9A537C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e2eca;
/* rgb */ color: rgb(158, 46, 202);
/* oklch */ color: oklch(54.3% 0.231 314.1);
Tailwind
colors: {
  custom: {
    50: '#bf73db',
    500: '#9e2eca',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eca;
$custom-light: #bf73db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eca",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 283.077,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54293,
    "c": 0.231,
    "h": 314.1
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#9E2ECA
secondary
#9ACF84
accent
#E64270
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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