#89227D#89227D

#89227D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.171 H 333.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#89227D
RGBrgb(137, 34, 125)
HSLhsl(307, 60%, 34%)
HSVhsv(307, 75%, 54%)
CMYKcmyk(0%, 75.2%, 8.8%, 46.3%)
CIE-LABlab(33.87, 52.78, -28.02)
CIE-LCHlch(33.87, 59.75, 332.03°)
OKLaboklab(45.25% 0.1525 -0.0769)
OKLCHoklch(45.25% 0.171 333.3)
XYZxyz(14.5903, 7.9443, 20.1630)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89227D #22892E
analogous
#612289 #89227D #892249
triadic
#89227D #7D8922 #227D89
tetradic
#89227D #896122 #22892E #224989
square
#89227D #896122 #22892E #224989
split-complementary
#89227D #498922 #228961
monochromatic
#270A24 #581650 #89227D #BA2EAA #D451C5

Accessibility & contrast

On white

8.11
#89227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#89227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89227D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89227D#FFFFFF#000000##FFFFFF
##89227D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#8F2C4D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #89227d;
/* rgb */ color: rgb(137, 34, 125);
/* oklch */ color: oklch(45.2% 0.171 333.3);
Tailwind
colors: {
  custom: {
    50: '#af68a3',
    500: '#89227d',
    950: '#000000',
  },
}
SCSS
$custom: #89227d;
$custom-light: #af68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#89227d",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 306.99,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.17076,
    "h": 333.3
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#89227D
secondary
#4FB85B
accent
#E35744
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89227D

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

Preview Lab → · Contrast checker → · Palette generator →

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