#891F8D#891F8D

#891F8D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.186 H 326.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#891F8D
RGBrgb(137, 31, 141)
HSLhsl(298, 64%, 34%)
HSVhsv(298, 78%, 55%)
CMYKcmyk(2.8%, 78%, 0%, 44.7%)
CIE-LABlab(34.44, 56.42, -37.05)
CIE-LCHlch(34.44, 67.49, 326.71°)
OKLaboklab(45.95% 0.1554 -0.103)
OKLCHoklch(45.95% 0.186 326.5)
XYZxyz(15.6139, 8.2225, 25.9589)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#891F8D #238D1F
analogous
#521F8D #891F8D #8D1F5A
triadic
#891F8D #8D891F #1F8D89
tetradic
#891F8D #8D521F #238D1F #1F5A8D
square
#891F8D #8D521F #238D1F #1F5A8D
split-complementary
#891F8D #5A8D1F #1F8D52
monochromatic
#280929 #58145B #891F8D #BA2ABF #D34ED8

Accessibility & contrast

On white

7.94
#891F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#891F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #891F8D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##891F8D#FFFFFF#000000##FFFFFF
##891F8D1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#8D3255
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #891f8d;
/* rgb */ color: rgb(137, 31, 141);
/* oklch */ color: oklch(46.0% 0.186 326.5);
Tailwind
colors: {
  custom: {
    50: '#af68af',
    500: '#891f8d',
    950: '#000000',
  },
}
SCSS
$custom: #891f8d;
$custom-light: #af68af;
$custom-dark: #000000;
JSON
{
  "hex": "#891f8d",
  "rgb": {
    "r": 137,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 297.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.18644,
    "h": 326.5
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#891F8D
secondary
#51BB4D
accent
#E74147
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #891F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#891F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva