#89217F#89217F

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

Color values

HEX#89217F
RGBrgb(137, 33, 127)
HSLhsl(306, 61%, 33%)
HSVhsv(306, 76%, 54%)
CMYKcmyk(0%, 75.9%, 7.3%, 46.3%)
CIE-LABlab(33.86, 53.43, -29.29)
CIE-LCHlch(33.86, 60.93, 331.27°)
OKLaboklab(45.27% 0.1536 -0.0805)
OKLCHoklch(45.27% 0.173 332.3)
XYZxyz(14.6912, 7.9396, 20.8333)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89217F #21892B
analogous
#5F2189 #89217F #89214B
triadic
#89217F #7F8921 #217F89
tetradic
#89217F #895F21 #21892B #214B89
square
#89217F #895F21 #21892B #214B89
split-complementary
#89217F #4B8921 #21895F
monochromatic
#260924 #581551 #89217F #BA2DAD #D550C8

Accessibility & contrast

On white

8.12
#89217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#89217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89217F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89217F#FFFFFF#000000##FFFFFF
##89217F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4682
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#8F2D4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #89217f;
/* rgb */ color: rgb(137, 33, 127);
/* oklch */ color: oklch(45.3% 0.173 332.3);
Tailwind
colors: {
  custom: {
    50: '#af68a4',
    500: '#89217f',
    950: '#000000',
  },
}
SCSS
$custom: #89217f;
$custom-light: #af68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89217f",
  "rgb": {
    "r": 137,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 305.769,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45274,
    "c": 0.1734,
    "h": 332.3
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#89217F
secondary
#4EB858
accent
#E45344
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89217F

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

Preview Lab → · Contrast checker → · Palette generator →

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