#9E218F#9E218F

#9E218F is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.196 H 333.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E218F
RGBrgb(158, 33, 143)
HSLhsl(307, 65%, 37%)
HSVhsv(307, 79%, 62%)
CMYKcmyk(0%, 79.1%, 9.5%, 38%)
CIE-LABlab(38.45, 60.72, -31.69)
CIE-LCHlch(38.45, 68.49, 332.44°)
OKLaboklab(49.55% 0.1761 -0.0869)
OKLCHoklch(49.55% 0.196 333.7)
XYZxyz(19.6025, 10.3417, 26.9450)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E218F #219E30
analogous
#6F219E #9E218F #9E2151
triadic
#9E218F #8F9E21 #218F9E
tetradic
#9E218F #9E6F21 #219E30 #21519E
square
#9E218F #9E6F21 #219E30 #21519E
split-complementary
#9E218F #519E21 #219E6F
monochromatic
#390C33 #6B1661 #9E218F #D12CBD #DD5CCE

Accessibility & contrast

On white

6.84
#9E218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E218F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E218F#FFFFFF#000000##FFFFFF
##9E218F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A62F57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e218f;
/* rgb */ color: rgb(158, 33, 143);
/* oklch */ color: oklch(49.5% 0.196 333.7);
Tailwind
colors: {
  custom: {
    50: '#be6cb0',
    500: '#9e218f',
    950: '#000000',
  },
}
SCSS
$custom: #9e218f;
$custom-light: #be6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e218f",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 307.2,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.19636,
    "h": 333.7
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#9E218F
secondary
#59C166
accent
#E8543F
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E218F

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

Preview Lab → · Contrast checker → · Palette generator →

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