#892A8D#892A8D

#892A8D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.174 H 326.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#892A8D
RGBrgb(137, 42, 141)
HSLhsl(298, 54%, 36%)
HSVhsv(298, 70%, 55%)
CMYKcmyk(2.8%, 70.2%, 0%, 44.7%)
CIE-LABlab(35.79, 52.58, -34.90)
CIE-LCHlch(35.79, 63.11, 326.42°)
OKLaboklab(46.92% 0.1447 -0.0968)
OKLCHoklch(46.92% 0.174 326.2)
XYZxyz(15.9519, 8.8984, 26.0715)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892A8D #2E8D2A
analogous
#572A8D #892A8D #8D2A5F
triadic
#892A8D #8D892A #2A8D89
tetradic
#892A8D #8D572A #2E8D2A #2A5F8D
square
#892A8D #8D572A #2E8D2A #2A5F8D
split-complementary
#892A8D #5F8D2A #2A8D57
monochromatic
#2D0E2F #5B1C5E #892A8D #B738BC #CC61D0

Accessibility & contrast

On white

7.56
#892A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#892A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892A8D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892A8D#FFFFFF#000000##FFFFFF
##892A8D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D90
Deuteranopia (green-blind)
#40588A
Tritanopia (blue-blind)
#8D3958
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #892a8d;
/* rgb */ color: rgb(137, 42, 141);
/* oklch */ color: oklch(46.9% 0.174 326.2);
Tailwind
colors: {
  custom: {
    50: '#af6daf',
    500: '#892a8d',
    950: '#000000',
  },
}
SCSS
$custom: #892a8d;
$custom-light: #af6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#892a8d",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 297.576,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.1741,
    "h": 326.2
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#892A8D
secondary
#60B65D
accent
#DD4A50
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #892A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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