#891F7F#891F7F

#891F7F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.176 H 332.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#891F7F
RGBrgb(137, 31, 127)
HSLhsl(306, 63%, 33%)
HSVhsv(306, 77%, 54%)
CMYKcmyk(0%, 77.4%, 7.3%, 46.3%)
CIE-LABlab(33.63, 54.08, -29.64)
CIE-LCHlch(33.63, 61.67, 331.27°)
OKLaboklab(45.11% 0.1555 -0.0815)
OKLCHoklch(45.11% 0.176 332.3)
XYZxyz(14.6373, 7.8319, 20.8153)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#891F7F #1F8929
analogous
#5E1F89 #891F7F #891F4A
triadic
#891F7F #7F891F #1F7F89
tetradic
#891F7F #895E1F #1F8929 #1F4A89
square
#891F7F #895E1F #1F8929 #1F4A89
split-complementary
#891F7F #4A891F #1F895E
monochromatic
#250822 #571451 #891F7F #BB2AAD #D64CC9

Accessibility & contrast

On white

8.18
#891F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#891F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #891F7F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##891F7F#FFFFFF#000000##FFFFFF
##891F7F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184682
Deuteranopia (green-blind)
#42547C
Tritanopia (blue-blind)
#8F2B4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #891f7f;
/* rgb */ color: rgb(137, 31, 127);
/* oklch */ color: oklch(45.1% 0.176 332.3);
Tailwind
colors: {
  custom: {
    50: '#af67a4',
    500: '#891f7f',
    950: '#000000',
  },
}
SCSS
$custom: #891f7f;
$custom-light: #af67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#891f7f",
  "rgb": {
    "r": 137,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 305.66,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.17555,
    "h": 332.3
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#891F7F
secondary
#4BB955
accent
#E65142
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #891F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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