#89218B#89218B

#89218B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.183 H 327.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#89218B
RGBrgb(137, 33, 139)
HSLhsl(299, 62%, 34%)
HSVhsv(299, 76%, 55%)
CMYKcmyk(1.4%, 76.3%, 0%, 45.5%)
CIE-LABlab(34.54, 55.44, -35.65)
CIE-LCHlch(34.54, 65.91, 327.25°)
OKLaboklab(45.99% 0.1537 -0.099)
OKLCHoklch(45.99% 0.183 327.2)
XYZxyz(15.5203, 8.2713, 25.2001)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89218B #238B21
analogous
#54218B #89218B #8B2158
triadic
#89218B #8B8921 #218B89
tetradic
#89218B #8B5421 #238B21 #21588B
square
#89218B #8B5421 #238B21 #21588B
split-complementary
#89218B #588B21 #218B54
monochromatic
#280A28 #58155A #89218B #BA2DBC #D351D6

Accessibility & contrast

On white

7.91
#89218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#89218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89218B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89218B#FFFFFF#000000##FFFFFF
##89218B1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04498E
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#8D3355
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #89218b;
/* rgb */ color: rgb(137, 33, 139);
/* oklch */ color: oklch(46.0% 0.183 327.2);
Tailwind
colors: {
  custom: {
    50: '#af69ad',
    500: '#89218b',
    950: '#000000',
  },
}
SCSS
$custom: #89218b;
$custom-light: #af69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#89218b",
  "rgb": {
    "r": 137,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 298.868,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45985,
    "c": 0.18281,
    "h": 327.2
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#89218B
secondary
#51B94F
accent
#E54346
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #89218B

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

Preview Lab → · Contrast checker → · Palette generator →

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