#89228C#89228C

#89228C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.183 H 326.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#89228C
RGBrgb(137, 34, 140)
HSLhsl(298, 61%, 34%)
HSVhsv(298, 76%, 55%)
CMYKcmyk(2.1%, 75.7%, 0%, 45.1%)
CIE-LABlab(34.72, 55.28, -35.99)
CIE-LCHlch(34.72, 65.97, 326.93°)
OKLaboklab(46.13% 0.1528 -0.1)
OKLCHoklch(46.13% 0.183 326.8)
XYZxyz(15.6219, 8.3570, 25.5961)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89228C #258C22
analogous
#54228C #89228C #8C225A
triadic
#89228C #8C8922 #228C89
tetradic
#89228C #8C5422 #258C22 #225A8C
square
#89228C #8C5422 #258C22 #225A8C
split-complementary
#89228C #5A8C22 #228C54
monochromatic
#290A2A #59165B #89228C #B92EBD #D253D5

Accessibility & contrast

On white

7.86
#89228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#89228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89228C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89228C#FFFFFF#000000##FFFFFF
##89228C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04498F
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#8D3455
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #89228c;
/* rgb */ color: rgb(137, 34, 140);
/* oklch */ color: oklch(46.1% 0.183 326.8);
Tailwind
colors: {
  custom: {
    50: '#af69ae',
    500: '#89228c',
    950: '#000000',
  },
}
SCSS
$custom: #89228c;
$custom-light: #af69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#89228c",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 298.302,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46128,
    "c": 0.18256,
    "h": 326.8
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#89228C
secondary
#54B951
accent
#E44448
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #89228C

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

Preview Lab → · Contrast checker → · Palette generator →

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