#89277B#89277B

#89277B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.163 H 334.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#89277B
RGBrgb(137, 39, 123)
HSLhsl(309, 56%, 35%)
HSVhsv(309, 72%, 54%)
CMYKcmyk(0%, 71.5%, 10.2%, 46.3%)
CIE-LABlab(34.40, 50.65, -25.93)
CIE-LCHlch(34.40, 56.91, 332.89°)
OKLaboklab(45.59% 0.147 -0.0709)
OKLCHoklch(45.59% 0.163 334.3)
XYZxyz(14.6173, 8.2007, 19.5481)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89277B #278935
analogous
#662789 #89277B #89274A
triadic
#89277B #7B8927 #277B89
tetradic
#89277B #896627 #278935 #274A89
square
#89277B #896627 #278935 #274A89
split-complementary
#89277B #4A8927 #278966
monochromatic
#2A0C25 #591950 #89277B #B935A6 #D05ABF

Accessibility & contrast

On white

7.96
#89277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#89277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89277B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89277B#FFFFFF#000000##FFFFFF
##89277B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487D
Deuteranopia (green-blind)
#485679
Tritanopia (blue-blind)
#902F4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #89277b;
/* rgb */ color: rgb(137, 39, 123);
/* oklch */ color: oklch(45.6% 0.163 334.3);
Tailwind
colors: {
  custom: {
    50: '#af6aa1',
    500: '#89277b',
    950: '#000000',
  },
}
SCSS
$custom: #89277b;
$custom-light: #af6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#89277b",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 308.571,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.16325,
    "h": 334.3
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#89277B
secondary
#57B564
accent
#DF5E49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #89277B

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

Preview Lab → · Contrast checker → · Palette generator →

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