#892A8A#892A8A

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

Color values

HEX#892A8A
RGBrgb(137, 42, 138)
HSLhsl(299, 53%, 35%)
HSVhsv(299, 70%, 54%)
CMYKcmyk(0.7%, 69.6%, 0%, 45.9%)
CIE-LABlab(35.62, 52.04, -33.33)
CIE-LCHlch(35.62, 61.80, 327.36°)
OKLaboklab(46.74% 0.1446 -0.0923)
OKLCHoklch(46.74% 0.172 327.5)
XYZxyz(15.7317, 8.8103, 24.9118)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892A8A #2B8A2A
analogous
#592A8A #892A8A #8A2A5B
triadic
#892A8A #8A892A #2A8A89
tetradic
#892A8A #8A592A #2B8A2A #2A5B8A
square
#892A8A #8A592A #2B8A2A #2A5B8A
split-complementary
#892A8A #5B8A2A #2A8A59
monochromatic
#2C0D2C #5A1C5B #892A8A #B838B9 #CD60CF

Accessibility & contrast

On white

7.60
#892A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#892A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892A8A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892A8A#FFFFFF#000000##FFFFFF
##892A8A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#425888
Tritanopia (blue-blind)
#8D3857
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #892a8a;
/* rgb */ color: rgb(137, 42, 138);
/* oklch */ color: oklch(46.7% 0.172 327.5);
Tailwind
colors: {
  custom: {
    50: '#af6cac',
    500: '#892a8a',
    950: '#000000',
  },
}
SCSS
$custom: #892a8a;
$custom-light: #af6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#892a8a",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 299.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46736,
    "c": 0.17156,
    "h": 327.5
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#892A8A
secondary
#5CB45B
accent
#DD4B4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #892A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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