#891F8B#891F8B

#891F8B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.185 H 327.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#891F8B
RGBrgb(137, 31, 139)
HSLhsl(299, 64%, 33%)
HSVhsv(299, 78%, 55%)
CMYKcmyk(1.4%, 77.7%, 0%, 45.5%)
CIE-LABlab(34.32, 56.07, -36.00)
CIE-LCHlch(34.32, 66.64, 327.30°)
OKLaboklab(45.83% 0.1555 -0.1)
OKLCHoklch(45.83% 0.185 327.3)
XYZxyz(15.4665, 8.1635, 25.1822)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#891F8B #218B1F
analogous
#531F8B #891F8B #8B1F57
triadic
#891F8B #8B891F #1F8B89
tetradic
#891F8B #8B531F #218B1F #1F578B
square
#891F8B #8B531F #218B1F #1F578B
split-complementary
#891F8B #578B1F #1F8B53
monochromatic
#260927 #581459 #891F8B #BA2ABD #D54DD7

Accessibility & contrast

On white

7.98
#891F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#891F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #891F8B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##891F8B#FFFFFF#000000##FFFFFF
##891F8B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#3C5588
Tritanopia (blue-blind)
#8D3154
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #891f8b;
/* rgb */ color: rgb(137, 31, 139);
/* oklch */ color: oklch(45.8% 0.185 327.3);
Tailwind
colors: {
  custom: {
    50: '#af68ad',
    500: '#891f8b',
    950: '#000000',
  },
}
SCSS
$custom: #891f8b;
$custom-light: #af68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#891f8b",
  "rgb": {
    "r": 137,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 298.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45828,
    "c": 0.18485,
    "h": 327.3
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#891F8B
secondary
#4EBA4C
accent
#E74144
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #891F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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