#892AA5#892AA5

#892AA5 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.195 H 317.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#892AA5
RGBrgb(137, 42, 165)
HSLhsl(286, 59%, 41%)
HSVhsv(286, 75%, 65%)
CMYKcmyk(17%, 74.5%, 0%, 35.3%)
CIE-LABlab(37.28, 57.12, -47.09)
CIE-LCHlch(37.28, 74.02, 320.50°)
OKLaboklab(48.46% 0.1434 -0.1324)
OKLCHoklch(48.46% 0.195 317.3)
XYZxyz(17.9350, 9.6917, 36.5160)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892AA5 #46A52A
analogous
#4B2AA5 #892AA5 #A52A84
triadic
#892AA5 #A5892A #2AA589
tetradic
#892AA5 #A54B2A #46A52A #2A84A5
square
#892AA5 #A54B2A #46A52A #2A84A5
split-complementary
#892AA5 #84A52A #2AA54B
monochromatic
#381143 #601E74 #892AA5 #AD3ECE #C26FDA

Accessibility & contrast

On white

7.15
#892AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#892AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892AA5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892AA5#FFFFFF#000000##FFFFFF
##892AA51.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2D5BA2
Tritanopia (blue-blind)
#884466
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892aa5;
/* rgb */ color: rgb(137, 42, 165);
/* oklch */ color: oklch(48.5% 0.195 317.3);
Tailwind
colors: {
  custom: {
    50: '#af6dc0',
    500: '#892aa5',
    950: '#000000',
  },
}
SCSS
$custom: #892aa5;
$custom-light: #af6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#892aa5",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 286.341,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48462,
    "c": 0.19517,
    "h": 317.3
  },
  "luminance": 0.09691
}

Semantic roles & 50–950 ramp

primary
#892AA5
secondary
#7DC169
accent
#E34569
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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