#89187F#89187F

#89187F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.182 H 332.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#89187F
RGBrgb(137, 24, 127)
HSLhsl(305, 70%, 32%)
HSVhsv(305, 82%, 54%)
CMYKcmyk(0%, 82.5%, 7.3%, 46.3%)
CIE-LABlab(32.93, 56.10, -30.75)
CIE-LCHlch(32.93, 63.97, 331.27°)
OKLaboklab(44.61% 0.1614 -0.0847)
OKLCHoklch(44.61% 0.182 332.3)
XYZxyz(14.4740, 7.5052, 20.7609)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89187F #188922
analogous
#5B1889 #89187F #891847
triadic
#89187F #7F8918 #187F89
tetradic
#89187F #895B18 #188922 #184789
square
#89187F #895B18 #188922 #184789
split-complementary
#89187F #478918 #18895B
monochromatic
#21061E #550F4F #89187F #BD21AF #DD3ECF

Accessibility & contrast

On white

8.40
#89187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#89187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89187F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89187F#FFFFFF#000000##FFFFFF
##89187F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4382
Deuteranopia (green-blind)
#40537C
Tritanopia (blue-blind)
#8F274C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #89187f;
/* rgb */ color: rgb(137, 24, 127);
/* oklch */ color: oklch(44.6% 0.182 332.3);
Tailwind
colors: {
  custom: {
    50: '#af65a4',
    500: '#89187f',
    950: '#000000',
  },
}
SCSS
$custom: #89187f;
$custom-light: #af65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89187f",
  "rgb": {
    "r": 137,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 305.31,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44611,
    "c": 0.18222,
    "h": 332.3
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#89187F
secondary
#40BD4B
accent
#ED4B3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #89187F

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

Preview Lab → · Contrast checker → · Palette generator →

#89187F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva