#892A8B#892A8B

#892A8B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.172 H 327.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#892A8B
RGBrgb(137, 42, 139)
HSLhsl(299, 54%, 35%)
HSVhsv(299, 70%, 55%)
CMYKcmyk(1.4%, 69.8%, 0%, 45.5%)
CIE-LABlab(35.67, 52.22, -33.86)
CIE-LCHlch(35.67, 62.23, 327.04°)
OKLaboklab(46.8% 0.1447 -0.0938)
OKLCHoklch(46.8% 0.172 327)
XYZxyz(15.8044, 8.8394, 25.2948)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892A8B #2C8B2A
analogous
#582A8B #892A8B #8B2A5C
triadic
#892A8B #8B892A #2A8B89
tetradic
#892A8B #8B582A #2C8B2A #2A5C8B
square
#892A8B #8B582A #2C8B2A #2A5C8B
split-complementary
#892A8B #5C8B2A #2A8B58
monochromatic
#2C0E2D #5B1C5C #892A8B #B738BA #CD60CF

Accessibility & contrast

On white

7.59
#892A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#892A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892A8B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892A8B#FFFFFF#000000##FFFFFF
##892A8B1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#415889
Tritanopia (blue-blind)
#8D3857
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #892a8b;
/* rgb */ color: rgb(137, 42, 139);
/* oklch */ color: oklch(46.8% 0.172 327.0);
Tailwind
colors: {
  custom: {
    50: '#af6cad',
    500: '#892a8b',
    950: '#000000',
  },
}
SCSS
$custom: #892a8b;
$custom-light: #af6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#892a8b",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 298.763,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.17241,
    "h": 327
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#892A8B
secondary
#5EB55C
accent
#DD4B4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #892A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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