#9E2CC4#9E2CC4

#9E2CC4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.228 H 315.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9E2CC4
RGBrgb(158, 44, 196)
HSLhsl(285, 63%, 47%)
HSVhsv(285, 78%, 77%)
CMYKcmyk(19.4%, 77.6%, 0%, 23.1%)
CIE-LABlab(42.85, 66.54, -56.28)
CIE-LCHlch(42.85, 87.15, 319.78°)
OKLaboklab(53.71% 0.1633 -0.1587)
OKLCHoklch(53.71% 0.228 315.8)
XYZxyz(24.9635, 13.0570, 53.4191)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2CC4 #52C42C
analogous
#522CC4 #9E2CC4 #C42C9E
triadic
#9E2CC4 #C49E2C #2CC49E
tetradic
#9E2CC4 #C4522C #52C42C #2C9EC4
square
#9E2CC4 #C4522C #52C42C #2C9EC4
split-complementary
#9E2CC4 #9EC42C #2CC452
monochromatic
#4D1660 #762192 #9E2CC4 #B854D9 #CD86E4

Accessibility & contrast

On white

5.82
#9E2CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9E2CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2CC4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2CC4#FFFFFF#000000##FFFFFF
##9E2CC41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2868C1
Tritanopia (blue-blind)
#9B4F78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2cc4;
/* rgb */ color: rgb(158, 44, 196);
/* oklch */ color: oklch(53.7% 0.228 315.8);
Tailwind
colors: {
  custom: {
    50: '#bf72d7',
    500: '#9e2cc4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2cc4;
$custom-light: #bf72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2cc4",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 196
  },
  "hsl": {
    "h": 285,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.22776,
    "h": 315.8
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#9E2CC4
secondary
#92CD7E
accent
#E6416B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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