#89227F#89227F

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

Color values

HEX#89227F
RGBrgb(137, 34, 127)
HSLhsl(306, 60%, 34%)
HSVhsv(306, 75%, 54%)
CMYKcmyk(0%, 75.2%, 7.3%, 46.3%)
CIE-LABlab(33.97, 53.10, -29.10)
CIE-LCHlch(33.97, 60.55, 331.27°)
OKLaboklab(45.36% 0.1526 -0.08)
OKLCHoklch(45.36% 0.172 332.3)
XYZxyz(14.7194, 7.9959, 20.8427)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89227F #22892C
analogous
#5F2289 #89227F #89224B
triadic
#89227F #7F8922 #227F89
tetradic
#89227F #895F22 #22892C #224B89
square
#89227F #895F22 #22892C #224B89
split-complementary
#89227F #4B8922 #22895F
monochromatic
#270A24 #581652 #89227F #BA2EAC #D451C7

Accessibility & contrast

On white

8.08
#89227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#89227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89227F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89227F#FFFFFF#000000##FFFFFF
##89227F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #89227f;
/* rgb */ color: rgb(137, 34, 127);
/* oklch */ color: oklch(45.4% 0.172 332.3);
Tailwind
colors: {
  custom: {
    50: '#af68a4',
    500: '#89227f',
    950: '#000000',
  },
}
SCSS
$custom: #89227f;
$custom-light: #af68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89227f",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 305.825,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.17229,
    "h": 332.3
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#89227F
secondary
#4FB859
accent
#E35444
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89227F

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

Preview Lab → · Contrast checker → · Palette generator →

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