#89257F#89257F

#89257F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.169 H 332.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#89257F
RGBrgb(137, 37, 127)
HSLhsl(306, 57%, 34%)
HSVhsv(306, 73%, 54%)
CMYKcmyk(0%, 73%, 7.3%, 46.3%)
CIE-LABlab(34.34, 52.05, -28.52)
CIE-LCHlch(34.34, 59.35, 331.28°)
OKLaboklab(45.63% 0.1495 -0.0783)
OKLCHoklch(45.63% 0.169 332.4)
XYZxyz(14.8089, 8.1750, 20.8725)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89257F #25892F
analogous
#612589 #89257F #89254D
triadic
#89257F #7F8925 #257F89
tetradic
#89257F #896125 #25892F #254D89
square
#89257F #896125 #25892F #254D89
split-complementary
#89257F #4D8925 #258961
monochromatic
#290B26 #591852 #89257F #B932AC #D257C5

Accessibility & contrast

On white

7.97
#89257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#89257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89257F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89257F#FFFFFF#000000##FFFFFF
##89257F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204882
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#8F2F4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #89257f;
/* rgb */ color: rgb(137, 37, 127);
/* oklch */ color: oklch(45.6% 0.169 332.4);
Tailwind
colors: {
  custom: {
    50: '#af6aa4',
    500: '#89257f',
    950: '#000000',
  },
}
SCSS
$custom: #89257f;
$custom-light: #af6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#89257f",
  "rgb": {
    "r": 137,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 306,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.16881,
    "h": 332.4
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#89257F
secondary
#54B65E
accent
#E15647
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #89257F

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

Preview Lab → · Contrast checker → · Palette generator →

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