#89217E#89217E

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

Color values

HEX#89217E
RGBrgb(137, 33, 126)
HSLhsl(306, 61%, 33%)
HSVhsv(306, 76%, 54%)
CMYKcmyk(0%, 75.9%, 8%, 46.3%)
CIE-LABlab(33.80, 53.27, -28.75)
CIE-LCHlch(33.80, 60.53, 331.65°)
OKLaboklab(45.22% 0.1535 -0.079)
OKLCHoklch(45.22% 0.173 332.8)
XYZxyz(14.6264, 7.9137, 20.4918)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89217E #21892C
analogous
#602189 #89217E #89214A
triadic
#89217E #7E8921 #217E89
tetradic
#89217E #896021 #21892C #214A89
square
#89217E #896021 #21892C #214A89
split-complementary
#89217E #4A8921 #218960
monochromatic
#260923 #581551 #89217E #BA2DAB #D550C7

Accessibility & contrast

On white

8.13
#89217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#89217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89217E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89217E#FFFFFF#000000##FFFFFF
##89217E1.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)
#1C4681
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#8F2C4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89217e;
/* rgb */ color: rgb(137, 33, 126);
/* oklch */ color: oklch(45.2% 0.173 332.8);
Tailwind
colors: {
  custom: {
    50: '#af68a4',
    500: '#89217e',
    950: '#000000',
  },
}
SCSS
$custom: #89217e;
$custom-light: #af68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89217e",
  "rgb": {
    "r": 137,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 306.346,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.17264,
    "h": 332.8
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#89217E
secondary
#4EB859
accent
#E45544
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89217E

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

Preview Lab → · Contrast checker → · Palette generator →

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