#9E2CC2#9E2CC2

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

Color values

HEX#9E2CC2
RGBrgb(158, 44, 194)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(18.6%, 77.3%, 0%, 23.9%)
CIE-LABlab(42.71, 66.16, -55.33)
CIE-LCHlch(42.71, 86.25, 320.09°)
OKLaboklab(53.57% 0.1636 -0.156)
OKLCHoklch(53.57% 0.226 316.4)
XYZxyz(24.7373, 12.9665, 52.2282)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2CC2 #50C22C
analogous
#532CC2 #9E2CC2 #C22C9B
triadic
#9E2CC2 #C29E2C #2CC29E
tetradic
#9E2CC2 #C2532C #50C22C #2C9BC2
square
#9E2CC2 #C2532C #50C22C #2C9BC2
split-complementary
#9E2CC2 #9BC22C #2CC253
monochromatic
#4D155E #752190 #9E2CC2 #B853D8 #CD85E3

Accessibility & contrast

On white

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

On black

3.59
#9E2CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E2CC2#FFFFFF#000000##FFFFFF
##9E2CC21.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2B68BF
Tritanopia (blue-blind)
#9C4E77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2cc2;
/* rgb */ color: rgb(158, 44, 194);
/* oklch */ color: oklch(53.6% 0.226 316.4);
Tailwind
colors: {
  custom: {
    50: '#bf72d5',
    500: '#9e2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2cc2;
$custom-light: #bf72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2cc2",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 285.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53572,
    "c": 0.22606,
    "h": 316.4
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#9E2CC2
secondary
#90CD7D
accent
#E64269
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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