#89158D#89158D

#89158D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.195 H 326.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#89158D
RGBrgb(137, 21, 141)
HSLhsl(298, 74%, 32%)
HSVhsv(298, 85%, 55%)
CMYKcmyk(2.8%, 85.1%, 0%, 44.7%)
CIE-LABlab(33.52, 59.10, -38.52)
CIE-LCHlch(33.52, 70.54, 326.90°)
OKLaboklab(45.3% 0.1629 -0.1072)
OKLCHoklch(45.3% 0.195 326.6)
XYZxyz(15.3921, 7.7789, 25.8849)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89158D #198D15
analogous
#4D158D #89158D #8D1555
triadic
#89158D #8D8915 #158D89
tetradic
#89158D #8D4D15 #198D15 #15558D
square
#89158D #8D4D15 #198D15 #15558D
split-complementary
#89158D #558D15 #158D4D
monochromatic
#210522 #550D58 #89158D #BD1DC2 #DC3BE2

Accessibility & contrast

On white

8.22
#89158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#89158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89158D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89158D#FFFFFF#000000##FFFFFF
##89158D1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#8D2D53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89158d;
/* rgb */ color: rgb(137, 21, 141);
/* oklch */ color: oklch(45.3% 0.195 326.6);
Tailwind
colors: {
  custom: {
    50: '#af65af',
    500: '#89158d',
    950: '#000000',
  },
}
SCSS
$custom: #89158d;
$custom-light: #af65af;
$custom-dark: #000000;
JSON
{
  "hex": "#89158d",
  "rgb": {
    "r": 137,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 298,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45298,
    "c": 0.19503,
    "h": 326.6
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#89158D
secondary
#41C13D
accent
#F1373D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #89158D

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

Preview Lab → · Contrast checker → · Palette generator →

#89158D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva