#9E2CC3#9E2CC3

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

Color values

HEX#9E2CC3
RGBrgb(158, 44, 195)
HSLhsl(285, 63%, 47%)
HSVhsv(285, 77%, 76%)
CMYKcmyk(19%, 77.4%, 0%, 23.5%)
CIE-LABlab(42.78, 66.35, -55.80)
CIE-LCHlch(42.78, 86.70, 319.94°)
OKLaboklab(53.64% 0.1635 -0.1573)
OKLCHoklch(53.64% 0.227 316.1)
XYZxyz(24.8500, 13.0116, 52.8217)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2CC3 #51C32C
analogous
#532CC3 #9E2CC3 #C32C9D
triadic
#9E2CC3 #C39E2C #2CC39E
tetradic
#9E2CC3 #C3532C #51C32C #2C9DC3
square
#9E2CC3 #C3532C #51C32C #2C9DC3
split-complementary
#9E2CC3 #9DC32C #2CC353
monochromatic
#4D155F #762191 #9E2CC3 #B854D8 #CD86E4

Accessibility & contrast

On white

5.83
#9E2CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9E2CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2CC3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2CC3#FFFFFF#000000##FFFFFF
##9E2CC31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#2A68C0
Tritanopia (blue-blind)
#9B4F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2cc3;
/* rgb */ color: rgb(158, 44, 195);
/* oklch */ color: oklch(53.6% 0.227 316.1);
Tailwind
colors: {
  custom: {
    50: '#bf72d6',
    500: '#9e2cc3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2cc3;
$custom-light: #bf72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2cc3",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 285.298,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.22691,
    "h": 316.1
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#9E2CC3
secondary
#91CD7E
accent
#E6426A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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