#891F7E#891F7E

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

Color values

HEX#891F7E
RGBrgb(137, 31, 126)
HSLhsl(306, 63%, 33%)
HSVhsv(306, 77%, 54%)
CMYKcmyk(0%, 77.4%, 8%, 46.3%)
CIE-LABlab(33.58, 53.92, -29.11)
CIE-LCHlch(33.58, 61.28, 331.64°)
OKLaboklab(45.05% 0.1554 -0.08)
OKLCHoklch(45.05% 0.175 332.8)
XYZxyz(14.5725, 7.8059, 20.4738)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#891F7E #1F892A
analogous
#5F1F89 #891F7E #891F49
triadic
#891F7E #7E891F #1F7E89
tetradic
#891F7E #895F1F #1F892A #1F4989
square
#891F7E #895F1F #1F892A #1F4989
split-complementary
#891F7E #49891F #1F895F
monochromatic
#250822 #571450 #891F7E #BB2AAC #D64CC8

Accessibility & contrast

On white

8.20
#891F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#891F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #891F7E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##891F7E#FFFFFF#000000##FFFFFF
##891F7E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194581
Deuteranopia (green-blind)
#43547B
Tritanopia (blue-blind)
#8F2B4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #891f7e;
/* rgb */ color: rgb(137, 31, 126);
/* oklch */ color: oklch(45.1% 0.175 332.8);
Tailwind
colors: {
  custom: {
    50: '#af67a4',
    500: '#891f7e',
    950: '#000000',
  },
}
SCSS
$custom: #891f7e;
$custom-light: #af67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#891f7e",
  "rgb": {
    "r": 137,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 306.226,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.1748,
    "h": 332.8
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#891F7E
secondary
#4BB956
accent
#E65342
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #891F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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