#89217B#89217B

#89217B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.170 H 334.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#89217B
RGBrgb(137, 33, 123)
HSLhsl(308, 61%, 33%)
HSVhsv(308, 76%, 54%)
CMYKcmyk(0%, 75.9%, 10.2%, 46.3%)
CIE-LABlab(33.64, 52.80, -27.12)
CIE-LCHlch(33.64, 59.35, 332.81°)
OKLaboklab(45.05% 0.1533 -0.0743)
OKLCHoklch(45.05% 0.17 334.2)
XYZxyz(14.4357, 7.8374, 19.4875)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89217B #21892F
analogous
#632189 #89217B #892147
triadic
#89217B #7B8921 #217B89
tetradic
#89217B #896321 #21892F #214789
square
#89217B #896321 #21892F #214789
split-complementary
#89217B #478921 #218963
monochromatic
#260922 #58154F #89217B #BA2DA7 #D550C3

Accessibility & contrast

On white

8.18
#89217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #89217B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89217B#FFFFFF#000000##FFFFFF
##89217B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457D
Deuteranopia (green-blind)
#455479
Tritanopia (blue-blind)
#902B4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89217b;
/* rgb */ color: rgb(137, 33, 123);
/* oklch */ color: oklch(45.1% 0.170 334.2);
Tailwind
colors: {
  custom: {
    50: '#af68a1',
    500: '#89217b',
    950: '#000000',
  },
}
SCSS
$custom: #89217b;
$custom-light: #af68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#89217b",
  "rgb": {
    "r": 137,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 308.077,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.17038,
    "h": 334.2
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#89217B
secondary
#4EB85C
accent
#E45944
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #89217B

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

Preview Lab → · Contrast checker → · Palette generator →

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