#892A7D#892A7D

#892A7D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 333.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#892A7D
RGBrgb(137, 42, 125)
HSLhsl(308, 53%, 35%)
HSVhsv(308, 69%, 54%)
CMYKcmyk(0%, 69.3%, 8.8%, 46.3%)
CIE-LABlab(34.92, 49.81, -26.37)
CIE-LCHlch(34.92, 56.36, 332.10°)
OKLaboklab(46% 0.1438 -0.0722)
OKLCHoklch(46% 0.161 333.3)
XYZxyz(14.8462, 8.4562, 20.2483)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892A7D #2A8936
analogous
#662A89 #892A7D #892A4D
triadic
#892A7D #7D892A #2A7D89
tetradic
#892A7D #89662A #2A8936 #2A4D89
square
#892A7D #89662A #2A8936 #2A4D89
split-complementary
#892A7D #4D892A #2A8966
monochromatic
#2B0D28 #5A1C52 #892A7D #B838A8 #CE5FC0

Accessibility & contrast

On white

7.80
#892A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#892A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892A7D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892A7D#FFFFFF#000000##FFFFFF
##892A7D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497F
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#8F3250
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #892a7d;
/* rgb */ color: rgb(137, 42, 125);
/* oklch */ color: oklch(46.0% 0.161 333.3);
Tailwind
colors: {
  custom: {
    50: '#ae6ca3',
    500: '#892a7d',
    950: '#000000',
  },
}
SCSS
$custom: #892a7d;
$custom-light: #ae6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#892a7d",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 307.579,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.16092,
    "h": 333.3
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#892A7D
secondary
#5BB466
accent
#DC5E4B
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #892A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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