#89228F#89228F

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

Color values

HEX#89228F
RGBrgb(137, 34, 143)
HSLhsl(297, 62%, 35%)
HSVhsv(297, 76%, 56%)
CMYKcmyk(4.2%, 76.2%, 0%, 43.9%)
CIE-LABlab(34.90, 55.81, -37.55)
CIE-LCHlch(34.90, 67.27, 326.06°)
OKLaboklab(46.32% 0.1527 -0.1045)
OKLCHoklch(46.32% 0.185 325.6)
XYZxyz(15.8461, 8.4467, 26.7770)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89228F #288F22
analogous
#52228F #89228F #8F225F
triadic
#89228F #8F8922 #228F89
tetradic
#89228F #8F5222 #288F22 #225F8F
square
#89228F #8F5222 #288F22 #225F8F
split-complementary
#89228F #5F8F22 #228F52
monochromatic
#2A0A2C #5A165E #89228F #B82EC0 #CF55D7

Accessibility & contrast

On white

7.81
#89228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#89228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89228F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89228F#FFFFFF#000000##FFFFFF
##89228F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #89228f;
/* rgb */ color: rgb(137, 34, 143);
/* oklch */ color: oklch(46.3% 0.185 325.6);
Tailwind
colors: {
  custom: {
    50: '#af69b0',
    500: '#89228f',
    950: '#000000',
  },
}
SCSS
$custom: #89228f;
$custom-light: #af69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#89228f",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 296.697,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46315,
    "c": 0.185,
    "h": 325.6
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#89228F
secondary
#58BA52
accent
#E5434C
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #89228F

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

Preview Lab → · Contrast checker → · Palette generator →

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