#892D7A#892D7A

#892D7A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.154 H 334.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#892D7A
RGBrgb(137, 45, 122)
HSLhsl(310, 51%, 36%)
HSVhsv(310, 67%, 54%)
CMYKcmyk(0%, 67.2%, 10.9%, 46.3%)
CIE-LABlab(35.21, 48.09, -24.04)
CIE-LCHlch(35.21, 53.76, 333.43°)
OKLaboklab(46.16% 0.1399 -0.0655)
OKLCHoklch(46.16% 0.154 334.9)
XYZxyz(14.7679, 8.6015, 19.2910)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D7A #2D893C
analogous
#6A2D89 #892D7A #892D4C
triadic
#892D7A #7A892D #2D7A89
tetradic
#892D7A #896A2D #2D893C #2D4C89
square
#892D7A #896A2D #2D893C #2D4C89
split-complementary
#892D7A #4C892D #2D896A
monochromatic
#2D0F28 #5B1E51 #892D7A #B73CA3 #CC64BB

Accessibility & contrast

On white

7.72
#892D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#892D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D7A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D7A#FFFFFF#000000##FFFFFF
##892D7A1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#90334F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #892d7a;
/* rgb */ color: rgb(137, 45, 122);
/* oklch */ color: oklch(46.2% 0.154 334.9);
Tailwind
colors: {
  custom: {
    50: '#ae6da0',
    500: '#892d7a',
    950: '#000000',
  },
}
SCSS
$custom: #892d7a;
$custom-light: #ae6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#892d7a",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 309.783,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46164,
    "c": 0.15445,
    "h": 334.9
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#892D7A
secondary
#5FB36D
accent
#DA654E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #892D7A

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

Preview Lab → · Contrast checker → · Palette generator →

#892D7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva