#892AA4#892AA4

#892AA4 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.194 H 317.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#892AA4
RGBrgb(137, 42, 164)
HSLhsl(287, 59%, 40%)
HSVhsv(287, 74%, 64%)
CMYKcmyk(16.5%, 74.4%, 0%, 35.7%)
CIE-LABlab(37.22, 56.92, -46.59)
CIE-LCHlch(37.22, 73.56, 320.70°)
OKLaboklab(48.39% 0.1435 -0.131)
OKLCHoklch(48.39% 0.194 317.6)
XYZxyz(17.8444, 9.6554, 36.0385)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892AA4 #45A42A
analogous
#4C2AA4 #892AA4 #A42A82
triadic
#892AA4 #A4892A #2AA489
tetradic
#892AA4 #A44C2A #45A42A #2A82A4
square
#892AA4 #A44C2A #45A42A #2A82A4
split-complementary
#892AA4 #82A42A #2AA44C
monochromatic
#381143 #601E73 #892AA4 #AE3ECD #C26EDA

Accessibility & contrast

On white

7.16
#892AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#892AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892AA4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892AA4#FFFFFF#000000##FFFFFF
##892AA41.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#2E5AA1
Tritanopia (blue-blind)
#884365
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892aa4;
/* rgb */ color: rgb(137, 42, 164);
/* oklch */ color: oklch(48.4% 0.194 317.6);
Tailwind
colors: {
  custom: {
    50: '#af6dc0',
    500: '#892aa4',
    950: '#000000',
  },
}
SCSS
$custom: #892aa4;
$custom-light: #af6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#892aa4",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 286.721,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48394,
    "c": 0.19427,
    "h": 317.6
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#892AA4
secondary
#7CC169
accent
#E24568
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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