#89228E#89228E

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

Color values

HEX#89228E
RGBrgb(137, 34, 142)
HSLhsl(297, 61%, 35%)
HSVhsv(297, 76%, 56%)
CMYKcmyk(3.5%, 76.1%, 0%, 44.3%)
CIE-LABlab(34.84, 55.63, -37.03)
CIE-LCHlch(34.84, 66.83, 326.35°)
OKLaboklab(46.25% 0.1527 -0.103)
OKLCHoklch(46.25% 0.184 326)
XYZxyz(15.7707, 8.4165, 26.3798)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89228E #278E22
analogous
#53228E #89228E #8E225D
triadic
#89228E #8E8922 #228E89
tetradic
#89228E #8E5322 #278E22 #225D8E
square
#89228E #8E5322 #278E22 #225D8E
split-complementary
#89228E #5D8E22 #228E53
monochromatic
#2A0A2B #59165D #89228E #B92EBF #D054D6

Accessibility & contrast

On white

7.83
#89228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#89228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89228E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89228E#FFFFFF#000000##FFFFFF
##89228E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#8D3557
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #89228e;
/* rgb */ color: rgb(137, 34, 142);
/* oklch */ color: oklch(46.3% 0.184 326.0);
Tailwind
colors: {
  custom: {
    50: '#af69af',
    500: '#89228e',
    950: '#000000',
  },
}
SCSS
$custom: #89228e;
$custom-light: #af69af;
$custom-dark: #000000;
JSON
{
  "hex": "#89228e",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 297.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46253,
    "c": 0.18419,
    "h": 326
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#89228E
secondary
#57BA52
accent
#E4434B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #89228E

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

Preview Lab → · Contrast checker → · Palette generator →

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