#89217C#89217C

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

Color values

HEX#89217C
RGBrgb(137, 33, 124)
HSLhsl(308, 61%, 33%)
HSVhsv(308, 76%, 54%)
CMYKcmyk(0%, 75.9%, 9.5%, 46.3%)
CIE-LABlab(33.70, 52.95, -27.66)
CIE-LCHlch(33.70, 59.74, 332.42°)
OKLaboklab(45.11% 0.1534 -0.0758)
OKLCHoklch(45.11% 0.171 333.7)
XYZxyz(14.4986, 7.8626, 19.8189)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89217C #21892E
analogous
#622189 #89217C #892148
triadic
#89217C #7C8921 #217C89
tetradic
#89217C #896221 #21892E #214889
square
#89217C #896221 #21892E #214889
split-complementary
#89217C #488921 #218962
monochromatic
#260923 #58154F #89217C #BA2DA9 #D550C4

Accessibility & contrast

On white

8.16
#89217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#89217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89217C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89217C#FFFFFF#000000##FFFFFF
##89217C1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #89217c;
/* rgb */ color: rgb(137, 33, 124);
/* oklch */ color: oklch(45.1% 0.171 333.7);
Tailwind
colors: {
  custom: {
    50: '#af68a2',
    500: '#89217c',
    950: '#000000',
  },
}
SCSS
$custom: #89217c;
$custom-light: #af68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#89217c",
  "rgb": {
    "r": 137,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 307.5,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.17113,
    "h": 333.7
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#89217C
secondary
#4EB85B
accent
#E45844
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89217C

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

Preview Lab → · Contrast checker → · Palette generator →

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