#9E218C#9E218C

#9E218C is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.194 H 334.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E218C
RGBrgb(158, 33, 140)
HSLhsl(309, 65%, 37%)
HSVhsv(309, 79%, 62%)
CMYKcmyk(0%, 79.1%, 11.4%, 38%)
CIE-LABlab(38.29, 60.27, -30.10)
CIE-LCHlch(38.29, 67.37, 333.46°)
OKLaboklab(49.39% 0.1759 -0.0824)
OKLCHoklch(49.39% 0.194 334.9)
XYZxyz(19.3783, 10.2520, 25.7641)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E218C #219E33
analogous
#72219E #9E218C #9E214E
triadic
#9E218C #8C9E21 #218C9E
tetradic
#9E218C #9E7221 #219E33 #214E9E
square
#9E218C #9E7221 #219E33 #214E9E
split-complementary
#9E218C #4E9E21 #219E72
monochromatic
#390C32 #6B165F #9E218C #D12CB9 #DD5CCB

Accessibility & contrast

On white

6.89
#9E218C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E218C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E218C
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E218C#FFFFFF#000000##FFFFFF
##9E218C1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#4F6189
Tritanopia (blue-blind)
#A62D55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e218c;
/* rgb */ color: rgb(158, 33, 140);
/* oklch */ color: oklch(49.4% 0.194 334.9);
Tailwind
colors: {
  custom: {
    50: '#be6cae',
    500: '#9e218c',
    950: '#000000',
  },
}
SCSS
$custom: #9e218c;
$custom-light: #be6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e218c",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 308.64,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49386,
    "c": 0.19424,
    "h": 334.9
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#9E218C
secondary
#59C168
accent
#E8583F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E218C

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

Preview Lab → · Contrast checker → · Palette generator →

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