#89227C#89227C

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

Color values

HEX#89227C
RGBrgb(137, 34, 124)
HSLhsl(308, 60%, 34%)
HSVhsv(308, 75%, 54%)
CMYKcmyk(0%, 75.2%, 9.5%, 46.3%)
CIE-LABlab(33.81, 52.62, -27.48)
CIE-LCHlch(33.81, 59.36, 332.43°)
OKLaboklab(45.19% 0.1524 -0.0753)
OKLCHoklch(45.19% 0.17 333.7)
XYZxyz(14.5268, 7.9189, 19.8283)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89227C #22892F
analogous
#622289 #89227C #892248
triadic
#89227C #7C8922 #227C89
tetradic
#89227C #896222 #22892F #224889
square
#89227C #896222 #22892F #224889
split-complementary
#89227C #488922 #228962
monochromatic
#270A23 #581650 #89227C #BA2EA8 #D451C3

Accessibility & contrast

On white

8.13
#89227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#89227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89227C
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89227C#FFFFFF#000000##FFFFFF
##89227C1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#902C4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89227c;
/* rgb */ color: rgb(137, 34, 124);
/* oklch */ color: oklch(45.2% 0.170 333.7);
Tailwind
colors: {
  custom: {
    50: '#af68a2',
    500: '#89227c',
    950: '#000000',
  },
}
SCSS
$custom: #89227c;
$custom-light: #af68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#89227c",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 307.573,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4519,
    "c": 0.17001,
    "h": 333.7
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#89227C
secondary
#4FB85C
accent
#E35844
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89227C

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

Preview Lab → · Contrast checker → · Palette generator →

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