#89278B#89278B

#89278B is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.176 H 327.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#89278B
RGBrgb(137, 39, 139)
HSLhsl(299, 56%, 35%)
HSVhsv(299, 72%, 55%)
CMYKcmyk(1.4%, 71.9%, 0%, 45.5%)
CIE-LABlab(35.27, 53.36, -34.49)
CIE-LCHlch(35.27, 63.54, 327.12°)
OKLaboklab(46.51% 0.1479 -0.0956)
OKLCHoklch(46.51% 0.176 327.1)
XYZxyz(15.7020, 8.6346, 25.2607)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89278B #298B27
analogous
#57278B #89278B #8B275B
triadic
#89278B #8B8927 #278B89
tetradic
#89278B #8B5727 #298B27 #275B8B
square
#89278B #8B5727 #298B27 #275B8B
split-complementary
#89278B #5B8B27 #278B57
monochromatic
#2B0C2B #5A1A5B #89278B #B834BB #CF5BD1

Accessibility & contrast

On white

7.70
#89278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#89278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89278B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89278B#FFFFFF#000000##FFFFFF
##89278B1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8E
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#8D3656
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #89278b;
/* rgb */ color: rgb(137, 39, 139);
/* oklch */ color: oklch(46.5% 0.176 327.1);
Tailwind
colors: {
  custom: {
    50: '#af6bad',
    500: '#89278b',
    950: '#000000',
  },
}
SCSS
$custom: #89278b;
$custom-light: #af6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#89278b",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 298.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.17609,
    "h": 327.1
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#89278B
secondary
#5AB658
accent
#DF484B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #89278B

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

Preview Lab → · Contrast checker → · Palette generator →

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