#9E18A0#9E18A0

#9E18A0 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.216 H 327.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9E18A0
RGBrgb(158, 24, 160)
HSLhsl(299, 74%, 36%)
HSVhsv(299, 85%, 63%)
CMYKcmyk(1.2%, 85%, 0%, 37.3%)
CIE-LABlab(38.66, 65.57, -41.68)
CIE-LCHlch(38.66, 77.70, 327.56°)
OKLaboklab(50.01% 0.1821 -0.1159)
OKLCHoklch(50.01% 0.216 327.5)
XYZxyz(20.7721, 10.4620, 34.1762)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E18A0 #1AA018
analogous
#5A18A0 #9E18A0 #A0185E
triadic
#9E18A0 #A09E18 #18A09E
tetradic
#9E18A0 #A05A18 #1AA018 #185EA0
square
#9E18A0 #A05A18 #1AA018 #185EA0
split-complementary
#9E18A0 #5EA018 #18A05A
monochromatic
#350836 #69106B #9E18A0 #D320D5 #E24EE4

Accessibility & contrast

On white

6.79
#9E18A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E18A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E18A0
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E18A0#FFFFFF#000000##FFFFFF
##9E18A01.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#41619D
Tritanopia (blue-blind)
#A3335F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e18a0;
/* rgb */ color: rgb(158, 24, 160);
/* oklch */ color: oklch(50.0% 0.216 327.5);
Tailwind
colors: {
  custom: {
    50: '#bf6abd',
    500: '#9e18a0',
    950: '#000000',
  },
}
SCSS
$custom: #9e18a0;
$custom-light: #bf6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e18a0",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 299.118,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.21587,
    "h": 327.5
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#9E18A0
secondary
#4FC64D
accent
#F1373A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9E18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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