#89228A#89228A

#89228A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.181 H 327.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#89228A
RGBrgb(137, 34, 138)
HSLhsl(299, 60%, 34%)
HSVhsv(299, 75%, 54%)
CMYKcmyk(0.7%, 75.4%, 0%, 45.9%)
CIE-LABlab(34.60, 54.94, -34.95)
CIE-LCHlch(34.60, 65.11, 327.54°)
OKLaboklab(46.01% 0.1528 -0.0969)
OKLCHoklch(46.01% 0.181 327.6)
XYZxyz(15.4758, 8.2985, 24.8265)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89228A #238A22
analogous
#55228A #89228A #8A2257
triadic
#89228A #8A8922 #228A89
tetradic
#89228A #8A5522 #238A22 #22578A
square
#89228A #8A5522 #238A22 #22578A
split-complementary
#89228A #578A22 #228A55
monochromatic
#280A28 #581659 #89228A #BA2EBB #D352D4

Accessibility & contrast

On white

7.90
#89228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#89228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89228A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89228A#FFFFFF#000000##FFFFFF
##89228A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498D
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#8D3354
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #89228a;
/* rgb */ color: rgb(137, 34, 138);
/* oklch */ color: oklch(46.0% 0.181 327.6);
Tailwind
colors: {
  custom: {
    50: '#af69ac',
    500: '#89228a',
    950: '#000000',
  },
}
SCSS
$custom: #89228a;
$custom-light: #af69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#89228a",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 299.423,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.18095,
    "h": 327.6
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#89228A
secondary
#51B850
accent
#E44446
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #89228A

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

Preview Lab → · Contrast checker → · Palette generator →

#89228A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva