#89227E#89227E

#89227E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.172 H 332.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#89227E
RGBrgb(137, 34, 126)
HSLhsl(306, 60%, 34%)
HSVhsv(306, 75%, 54%)
CMYKcmyk(0%, 75.2%, 8%, 46.3%)
CIE-LABlab(33.92, 52.94, -28.56)
CIE-LCHlch(33.92, 60.15, 331.65°)
OKLaboklab(45.3% 0.1526 -0.0784)
OKLCHoklch(45.3% 0.172 332.8)
XYZxyz(14.6545, 7.9700, 20.5012)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89227E #22892D
analogous
#602289 #89227E #89224A
triadic
#89227E #7E8922 #227E89
tetradic
#89227E #896022 #22892D #224A89
square
#89227E #896022 #22892D #224A89
split-complementary
#89227E #4A8922 #228960
monochromatic
#270A24 #581651 #89227E #BA2EAB #D451C6

Accessibility & contrast

On white

8.10
#89227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#89227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89227E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89227E#FFFFFF#000000##FFFFFF
##89227E1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4681
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#8F2D4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #89227e;
/* rgb */ color: rgb(137, 34, 126);
/* oklch */ color: oklch(45.3% 0.172 332.8);
Tailwind
colors: {
  custom: {
    50: '#af68a4',
    500: '#89227e',
    950: '#000000',
  },
}
SCSS
$custom: #89227e;
$custom-light: #af68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89227e",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 306.408,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.17153,
    "h": 332.8
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#89227E
secondary
#4FB85A
accent
#E35544
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89227E

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

Preview Lab → · Contrast checker → · Palette generator →

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