#9E218E#9E218E

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

Color values

HEX#9E218E
RGBrgb(158, 33, 142)
HSLhsl(308, 65%, 37%)
HSVhsv(308, 79%, 62%)
CMYKcmyk(0%, 79.1%, 10.1%, 38%)
CIE-LABlab(38.40, 60.57, -31.16)
CIE-LCHlch(38.40, 68.11, 332.78°)
OKLaboklab(49.5% 0.176 -0.0854)
OKLCHoklch(49.5% 0.196 334.1)
XYZxyz(19.5271, 10.3116, 26.5478)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E218E #219E31
analogous
#70219E #9E218E #9E2150
triadic
#9E218E #8E9E21 #218E9E
tetradic
#9E218E #9E7021 #219E31 #21509E
square
#9E218E #9E7021 #219E31 #21509E
split-complementary
#9E218E #509E21 #219E70
monochromatic
#390C33 #6B1661 #9E218E #D12CBB #DD5CCD

Accessibility & contrast

On white

6.86
#9E218E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9E218E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E218E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E218E#FFFFFF#000000##FFFFFF
##9E218E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#4E618B
Tritanopia (blue-blind)
#A62E57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e218e;
/* rgb */ color: rgb(158, 33, 142);
/* oklch */ color: oklch(49.5% 0.196 334.1);
Tailwind
colors: {
  custom: {
    50: '#be6caf',
    500: '#9e218e',
    950: '#000000',
  },
}
SCSS
$custom: #9e218e;
$custom-light: #be6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e218e",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 307.68,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49495,
    "c": 0.19566,
    "h": 334.1
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#9E218E
secondary
#59C167
accent
#E8553F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E218E

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

Preview Lab → · Contrast checker → · Palette generator →

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