#89227B#89227B

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

Color values

HEX#89227B
RGBrgb(137, 34, 123)
HSLhsl(308, 60%, 34%)
HSVhsv(308, 75%, 54%)
CMYKcmyk(0%, 75.2%, 10.2%, 46.3%)
CIE-LABlab(33.76, 52.46, -26.93)
CIE-LCHlch(33.76, 58.97, 332.82°)
OKLaboklab(45.14% 0.1524 -0.0737)
OKLCHoklch(45.14% 0.169 334.2)
XYZxyz(14.4638, 7.8937, 19.4969)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89227B #228930
analogous
#632289 #89227B #892247
triadic
#89227B #7B8922 #227B89
tetradic
#89227B #896322 #228930 #224789
square
#89227B #896322 #228930 #224789
split-complementary
#89227B #478922 #228963
monochromatic
#270A23 #58164F #89227B #BA2EA7 #D451C2

Accessibility & contrast

On white

8.14
#89227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#89227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89227B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89227B#FFFFFF#000000##FFFFFF
##89227B1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#902B4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89227b;
/* rgb */ color: rgb(137, 34, 123);
/* oklch */ color: oklch(45.1% 0.169 334.2);
Tailwind
colors: {
  custom: {
    50: '#af68a1',
    500: '#89227b',
    950: '#000000',
  },
}
SCSS
$custom: #89227b;
$custom-light: #af68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#89227b",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 308.155,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45135,
    "c": 0.16926,
    "h": 334.2
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#89227B
secondary
#4FB85D
accent
#E35A44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #89227B

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

Preview Lab → · Contrast checker → · Palette generator →

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