#89287E#89287E

#89287E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.164 H 332.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#89287E
RGBrgb(137, 40, 126)
HSLhsl(307, 55%, 35%)
HSVhsv(307, 71%, 54%)
CMYKcmyk(0%, 70.8%, 8%, 46.3%)
CIE-LABlab(34.69, 50.76, -27.35)
CIE-LCHlch(34.69, 57.66, 331.68°)
OKLaboklab(45.86% 0.1462 -0.075)
OKLCHoklch(45.86% 0.164 332.8)
XYZxyz(14.8413, 8.3435, 20.5634)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89287E #288933
analogous
#642889 #89287E #89284E
triadic
#89287E #7E8928 #287E89
tetradic
#89287E #896428 #288933 #284E89
square
#89287E #896428 #288933 #284E89
split-complementary
#89287E #4E8928 #288964
monochromatic
#2A0C27 #5A1A52 #89287E #B836AA #CF5CC2

Accessibility & contrast

On white

7.87
#89287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#89287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89287E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89287E#FFFFFF#000000##FFFFFF
##89287E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244980
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#8F3150
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #89287e;
/* rgb */ color: rgb(137, 40, 126);
/* oklch */ color: oklch(45.9% 0.164 332.8);
Tailwind
colors: {
  custom: {
    50: '#af6ba3',
    500: '#89287e',
    950: '#000000',
  },
}
SCSS
$custom: #89287e;
$custom-light: #af6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#89287e",
  "rgb": {
    "r": 137,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 306.804,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.16431,
    "h": 332.8
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#89287E
secondary
#58B563
accent
#DE5A4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89287E

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

Preview Lab → · Contrast checker → · Palette generator →

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