#89178E#89178E

#89178E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.194 H 326.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#89178E
RGBrgb(137, 23, 142)
HSLhsl(297, 72%, 32%)
HSVhsv(297, 84%, 56%)
CMYKcmyk(3.5%, 83.8%, 0%, 44.3%)
CIE-LABlab(33.74, 58.79, -38.78)
CIE-LCHlch(33.74, 70.43, 326.59°)
OKLaboklab(45.48% 0.1615 -0.108)
OKLCHoklch(45.48% 0.194 326.2)
XYZxyz(15.5051, 7.8853, 26.2913)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89178E #1C8E17
analogous
#4E178E #89178E #8E1758
triadic
#89178E #8E8917 #178E89
tetradic
#89178E #8E4E17 #1C8E17 #17588E
square
#89178E #8E4E17 #1C8E17 #17588E
split-complementary
#89178E #588E17 #178E4E
monochromatic
#230625 #560E59 #89178E #BC20C3 #D93FE0

Accessibility & contrast

On white

8.15
#89178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#89178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89178E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89178E#FFFFFF#000000##FFFFFF
##89178E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#37548B
Tritanopia (blue-blind)
#8D2F54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89178e;
/* rgb */ color: rgb(137, 23, 142);
/* oklch */ color: oklch(45.5% 0.194 326.2);
Tailwind
colors: {
  custom: {
    50: '#af65b0',
    500: '#89178e',
    950: '#000000',
  },
}
SCSS
$custom: #89178e;
$custom-light: #af65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#89178e",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 297.479,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.19428,
    "h": 326.2
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#89178E
secondary
#46C040
accent
#EF3941
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #89178E

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

Preview Lab → · Contrast checker → · Palette generator →

#89178E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva