#89227A#89227A

#89227A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.169 H 334.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#89227A
RGBrgb(137, 34, 122)
HSLhsl(309, 60%, 34%)
HSVhsv(309, 75%, 54%)
CMYKcmyk(0%, 75.2%, 10.9%, 46.3%)
CIE-LABlab(33.71, 52.30, -26.39)
CIE-LCHlch(33.71, 58.58, 333.23°)
OKLaboklab(45.08% 0.1523 -0.0722)
OKLCHoklch(45.08% 0.169 334.6)
XYZxyz(14.4016, 7.8688, 19.1689)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89227A #228931
analogous
#642289 #89227A #892246
triadic
#89227A #7A8922 #227A89
tetradic
#89227A #896422 #228931 #224689
square
#89227A #896422 #228931 #224689
split-complementary
#89227A #468922 #228964
monochromatic
#270A23 #58164E #89227A #BA2EA6 #D451C1

Accessibility & contrast

On white

8.16
#89227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#89227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89227A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89227A#FFFFFF#000000##FFFFFF
##89227A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467C
Deuteranopia (green-blind)
#465578
Tritanopia (blue-blind)
#902B4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89227a;
/* rgb */ color: rgb(137, 34, 122);
/* oklch */ color: oklch(45.1% 0.169 334.6);
Tailwind
colors: {
  custom: {
    50: '#af68a1',
    500: '#89227a',
    950: '#000000',
  },
}
SCSS
$custom: #89227a;
$custom-light: #af68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#89227a",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 308.738,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.16851,
    "h": 334.6
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#89227A
secondary
#4FB85E
accent
#E35C44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #89227A

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

Preview Lab → · Contrast checker → · Palette generator →

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