#9E1A98#9E1A98

#9E1A98 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.209 H 330.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9E1A98
RGBrgb(158, 26, 152)
HSLhsl(303, 72%, 36%)
HSVhsv(303, 84%, 62%)
CMYKcmyk(0%, 83.5%, 3.8%, 38%)
CIE-LABlab(38.33, 63.88, -37.36)
CIE-LCHlch(38.33, 74.00, 329.68°)
OKLaboklab(49.63% 0.1813 -0.1033)
OKLCHoklch(49.63% 0.209 330.3)
XYZxyz(20.1374, 10.2765, 30.6227)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A98 #1A9E20
analogous
#621A9E #9E1A98 #9E1A56
triadic
#9E1A98 #989E1A #1A989E
tetradic
#9E1A98 #9E621A #1A9E20 #1A569E
square
#9E1A98 #9E621A #1A9E20 #1A569E
split-complementary
#9E1A98 #569E1A #1A9E62
monochromatic
#350933 #691165 #9E1A98 #D323CB #E250DC

Accessibility & contrast

On white

6.87
#9E1A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E1A98
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A98#FFFFFF#000000##FFFFFF
##9E1A981.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#A4305B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1a98;
/* rgb */ color: rgb(158, 26, 152);
/* oklch */ color: oklch(49.6% 0.209 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ab7',
    500: '#9e1a98',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a98;
$custom-light: #bf6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a98",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 302.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49629,
    "c": 0.20866,
    "h": 330.3
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#9E1A98
secondary
#4FC554
accent
#EE4239
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1A98

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

Preview Lab → · Contrast checker → · Palette generator →

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