#89237F#89237F

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

Color values

HEX#89237F
RGBrgb(137, 35, 127)
HSLhsl(306, 59%, 34%)
HSVhsv(306, 74%, 54%)
CMYKcmyk(0%, 74.5%, 7.3%, 46.3%)
CIE-LABlab(34.09, 52.76, -28.91)
CIE-LCHlch(34.09, 60.16, 331.28°)
OKLaboklab(45.45% 0.1516 -0.0794)
OKLCHoklch(45.45% 0.171 332.3)
XYZxyz(14.7484, 8.0539, 20.8524)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89237F #23892D
analogous
#602389 #89237F #89234C
triadic
#89237F #7F8923 #237F89
tetradic
#89237F #896023 #23892D #234C89
square
#89237F #896023 #23892D #234C89
split-complementary
#89237F #4C8923 #238960
monochromatic
#280A25 #581752 #89237F #BA2FAC #D353C7

Accessibility & contrast

On white

8.04
#89237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#89237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89237F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89237F#FFFFFF#000000##FFFFFF
##89237F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #89237f;
/* rgb */ color: rgb(137, 35, 127);
/* oklch */ color: oklch(45.4% 0.171 332.3);
Tailwind
colors: {
  custom: {
    50: '#af69a4',
    500: '#89237f',
    950: '#000000',
  },
}
SCSS
$custom: #89237f;
$custom-light: #af69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89237f",
  "rgb": {
    "r": 137,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 305.882,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.17115,
    "h": 332.3
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#89237F
secondary
#51B75B
accent
#E25545
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89237F

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

Preview Lab → · Contrast checker → · Palette generator →

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