#892D9A#892D9A

#892D9A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.182 H 321.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#892D9A
RGBrgb(137, 45, 154)
HSLhsl(291, 55%, 39%)
HSVhsv(291, 71%, 60%)
CMYKcmyk(11%, 70.8%, 0%, 39.6%)
CIE-LABlab(36.98, 53.81, -40.93)
CIE-LCHlch(36.98, 67.61, 322.74°)
OKLaboklab(48.02% 0.1412 -0.1144)
OKLCHoklch(48.02% 0.182 321)
XYZxyz(17.0870, 9.5291, 31.5049)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D9A #3E9A2D
analogous
#532D9A #892D9A #9A2D75
triadic
#892D9A #9A892D #2D9A89
tetradic
#892D9A #9A532D #3E9A2D #2D759A
square
#892D9A #9A532D #3E9A2D #2D759A
split-complementary
#892D9A #759A2D #2D9A53
monochromatic
#35113B #5F1F6B #892D9A #B13EC7 #C46DD4

Accessibility & contrast

On white

7.23
#892D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#892D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D9A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D9A#FFFFFF#000000##FFFFFF
##892D9A1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519D
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#8A4160
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #892d9a;
/* rgb */ color: rgb(137, 45, 154);
/* oklch */ color: oklch(48.0% 0.182 321.0);
Tailwind
colors: {
  custom: {
    50: '#af6eb8',
    500: '#892d9a',
    950: '#000000',
  },
}
SCSS
$custom: #892d9a;
$custom-light: #af6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#892d9a",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 290.642,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.18175,
    "h": 321
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#892D9A
secondary
#74BB67
accent
#DE4A61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #892D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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