#89218F#89218F

#89218F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.186 H 325.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#89218F
RGBrgb(137, 33, 143)
HSLhsl(297, 63%, 35%)
HSVhsv(297, 77%, 56%)
CMYKcmyk(4.2%, 76.9%, 0%, 43.9%)
CIE-LABlab(34.78, 56.13, -37.73)
CIE-LCHlch(34.78, 67.64, 326.09°)
OKLaboklab(46.23% 0.1536 -0.105)
OKLCHoklch(46.23% 0.186 325.6)
XYZxyz(15.8180, 8.3903, 26.7676)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89218F #278F21
analogous
#52218F #89218F #8F215E
triadic
#89218F #8F8921 #218F89
tetradic
#89218F #8F5221 #278F21 #215E8F
square
#89218F #8F5221 #278F21 #215E8F
split-complementary
#89218F #5E8F21 #218F52
monochromatic
#2A0A2C #59165D #89218F #B92CC1 #D053D7

Accessibility & contrast

On white

7.84
#89218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#89218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89218F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89218F#FFFFFF#000000##FFFFFF
##89218F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#8C3557
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #89218f;
/* rgb */ color: rgb(137, 33, 143);
/* oklch */ color: oklch(46.2% 0.186 325.6);
Tailwind
colors: {
  custom: {
    50: '#af69b0',
    500: '#89218f',
    950: '#000000',
  },
}
SCSS
$custom: #89218f;
$custom-light: #af69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#89218f",
  "rgb": {
    "r": 137,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 296.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.18604,
    "h": 325.6
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#89218F
secondary
#57BB51
accent
#E6424B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #89218F

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

Preview Lab → · Contrast checker → · Palette generator →

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