#89277E#89277E

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

Color values

HEX#89277E
RGBrgb(137, 39, 126)
HSLhsl(307, 56%, 35%)
HSVhsv(307, 72%, 54%)
CMYKcmyk(0%, 71.5%, 8%, 46.3%)
CIE-LABlab(34.55, 51.14, -27.57)
CIE-LCHlch(34.55, 58.10, 331.68°)
OKLaboklab(45.76% 0.1473 -0.0756)
OKLCHoklch(45.76% 0.166 332.8)
XYZxyz(14.8080, 8.2770, 20.5523)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89277E #278932
analogous
#632789 #89277E #89274D
triadic
#89277E #7E8927 #277E89
tetradic
#89277E #896327 #278932 #274D89
square
#89277E #896327 #278932 #274D89
split-complementary
#89277E #4D8927 #278963
monochromatic
#2A0C26 #591952 #89277E #B935AA #D05AC3

Accessibility & contrast

On white

7.91
#89277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#89277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89277E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89277E#FFFFFF#000000##FFFFFF
##89277E1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#8F304F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #89277e;
/* rgb */ color: rgb(137, 39, 126);
/* oklch */ color: oklch(45.8% 0.166 332.8);
Tailwind
colors: {
  custom: {
    50: '#af6ba3',
    500: '#89277e',
    950: '#000000',
  },
}
SCSS
$custom: #89277e;
$custom-light: #af6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#89277e",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 306.735,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.16558,
    "h": 332.8
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#89277E
secondary
#57B561
accent
#DF5A49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89277E

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

Preview Lab → · Contrast checker → · Palette generator →

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