#89318D#89318D

#89318D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.165 H 326.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#89318D
RGBrgb(137, 49, 141)
HSLhsl(297, 48%, 37%)
HSVhsv(297, 65%, 55%)
CMYKcmyk(2.8%, 65.2%, 0%, 44.7%)
CIE-LABlab(36.82, 49.69, -33.27)
CIE-LCHlch(36.82, 59.80, 326.19°)
OKLaboklab(47.66% 0.1366 -0.0922)
OKLCHoklch(47.66% 0.165 326)
XYZxyz(16.2222, 9.4391, 26.1616)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89318D #358D31
analogous
#5B318D #89318D #8D3163
triadic
#89318D #8D8931 #318D89
tetradic
#89318D #8D5B31 #358D31 #31638D
square
#89318D #8D5B31 #358D31 #31638D
split-complementary
#89318D #638D31 #318D5B
monochromatic
#311132 #5D2160 #89318D #B541BA #C86CCC

Accessibility & contrast

On white

7.27
#89318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#89318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89318D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89318D#FFFFFF#000000##FFFFFF
##89318D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#445A8B
Tritanopia (blue-blind)
#8C3E5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #89318d;
/* rgb */ color: rgb(137, 49, 141);
/* oklch */ color: oklch(47.7% 0.165 326.0);
Tailwind
colors: {
  custom: {
    50: '#ae70af',
    500: '#89318d',
    950: '#000000',
  },
}
SCSS
$custom: #89318d;
$custom-light: #ae70af;
$custom-dark: #000000;
JSON
{
  "hex": "#89318d",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 297.391,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47657,
    "c": 0.16481,
    "h": 326
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#89318D
secondary
#6AB466
accent
#D85056
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #89318D

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

Preview Lab → · Contrast checker → · Palette generator →

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