#9E2C8E#9E2C8E

#9E2C8E is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.184 H 334.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9E2C8E
RGBrgb(158, 44, 142)
HSLhsl(308, 56%, 40%)
HSVhsv(308, 72%, 62%)
CMYKcmyk(0%, 72.2%, 10.1%, 38%)
CIE-LABlab(39.62, 57.06, -29.23)
CIE-LCHlch(39.62, 64.12, 332.88°)
OKLaboklab(50.38% 0.1657 -0.08)
OKLCHoklch(50.38% 0.184 334.2)
XYZxyz(19.8839, 11.0252, 26.6668)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C8E #2C9E3C
analogous
#752C9E #9E2C8E #9E2C55
triadic
#9E2C8E #8E9E2C #2C8E9E
tetradic
#9E2C8E #9E752C #2C9E3C #2C559E
square
#9E2C8E #9E752C #2C9E3C #2C559E
split-complementary
#9E2C8E #559E2C #2C9E75
monochromatic
#3E1138 #6E1F63 #9E2C8E #C93EB6 #D76EC8

Accessibility & contrast

On white

6.55
#9E2C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9E2C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C8E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C8E#FFFFFF#000000##FFFFFF
##9E2C8E1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#A6365A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2c8e;
/* rgb */ color: rgb(158, 44, 142);
/* oklch */ color: oklch(50.4% 0.184 334.2);
Tailwind
colors: {
  custom: {
    50: '#be70af',
    500: '#9e2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c8e;
$custom-light: #be70af;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c8e",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 308.421,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.18398,
    "h": 334.2
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#9E2C8E
secondary
#68BE74
accent
#E05D48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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