#9E208C#9E208C

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

Color values

HEX#9E208C
RGBrgb(158, 32, 140)
HSLhsl(309, 66%, 37%)
HSVhsv(309, 80%, 62%)
CMYKcmyk(0%, 79.7%, 11.4%, 38%)
CIE-LABlab(38.19, 60.55, -30.25)
CIE-LCHlch(38.19, 67.68, 333.45°)
OKLaboklab(49.32% 0.1767 -0.0828)
OKLCHoklch(49.32% 0.195 334.9)
XYZxyz(19.3509, 10.1973, 25.7550)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E208C #209E32
analogous
#71209E #9E208C #9E204D
triadic
#9E208C #8C9E20 #208C9E
tetradic
#9E208C #9E7120 #209E32 #204D9E
square
#9E208C #9E7120 #209E32 #204D9E
split-complementary
#9E208C #4D9E20 #209E71
monochromatic
#380B32 #6B165F #9E208C #D12AB9 #DE5BCB

Accessibility & contrast

On white

6.91
#9E208C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E208C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E208C
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E208C#FFFFFF#000000##FFFFFF
##9E208C1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#4F6089
Tritanopia (blue-blind)
#A62C55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e208c;
/* rgb */ color: rgb(158, 32, 140);
/* oklch */ color: oklch(49.3% 0.195 334.9);
Tailwind
colors: {
  custom: {
    50: '#bf6bae',
    500: '#9e208c',
    950: '#000000',
  },
}
SCSS
$custom: #9e208c;
$custom-light: #bf6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e208c",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 308.571,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.19518,
    "h": 334.9
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#9E208C
secondary
#58C267
accent
#E9573F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E208C

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

Preview Lab → · Contrast checker → · Palette generator →

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