#892AA6#892AA6

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

Color values

HEX#892AA6
RGBrgb(137, 42, 166)
HSLhsl(286, 60%, 41%)
HSVhsv(286, 75%, 65%)
CMYKcmyk(17.5%, 74.7%, 0%, 34.9%)
CIE-LABlab(37.35, 57.31, -47.58)
CIE-LCHlch(37.35, 74.49, 320.30°)
OKLaboklab(48.53% 0.1432 -0.1339)
OKLCHoklch(48.53% 0.196 316.9)
XYZxyz(18.0264, 9.7282, 36.9972)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892AA6 #47A62A
analogous
#4B2AA6 #892AA6 #A62A85
triadic
#892AA6 #A6892A #2AA689
tetradic
#892AA6 #A64B2A #47A62A #2A85A6
square
#892AA6 #A64B2A #47A62A #2A85A6
split-complementary
#892AA6 #85A62A #2AA64B
monochromatic
#381144 #611E75 #892AA6 #AD3FCE #C270DB

Accessibility & contrast

On white

7.13
#892AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#892AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892AA6
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892AA6#FFFFFF#000000##FFFFFF
##892AA61.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#2C5BA3
Tritanopia (blue-blind)
#874466
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892aa6;
/* rgb */ color: rgb(137, 42, 166);
/* oklch */ color: oklch(48.5% 0.196 316.9);
Tailwind
colors: {
  custom: {
    50: '#af6ec1',
    500: '#892aa6',
    950: '#000000',
  },
}
SCSS
$custom: #892aa6;
$custom-light: #af6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#892aa6",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 285.968,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48531,
    "c": 0.19607,
    "h": 316.9
  },
  "luminance": 0.09727
}

Semantic roles & 50–950 ramp

primary
#892AA6
secondary
#7FC26A
accent
#E3456A
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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