#892AAB#892AAB

#892AAB is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.201 H 315.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#892AAB
RGBrgb(137, 42, 171)
HSLhsl(284, 61%, 42%)
HSVhsv(284, 75%, 67%)
CMYKcmyk(19.9%, 75.4%, 0%, 32.9%)
CIE-LABlab(37.69, 58.31, -50.02)
CIE-LCHlch(37.69, 76.83, 319.38°)
OKLaboklab(48.88% 0.1426 -0.1411)
OKLCHoklch(48.88% 0.201 315.3)
XYZxyz(18.4940, 9.9153, 39.4598)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892AAB #4CAB2A
analogous
#492AAB #892AAB #AB2A8D
triadic
#892AAB #AB892A #2AAB89
tetradic
#892AAB #AB492A #4CAB2A #2A8DAB
square
#892AAB #AB492A #4CAB2A #2A8DAB
split-complementary
#892AAB #8DAB2A #2AAB49
monochromatic
#3A1249 #621E7A #892AAB #AB42D1 #C173DD

Accessibility & contrast

On white

7.04
#892AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#892AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892AAB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892AAB#FFFFFF#000000##FFFFFF
##892AAB1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#265BA8
Tritanopia (blue-blind)
#864669
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892aab;
/* rgb */ color: rgb(137, 42, 171);
/* oklch */ color: oklch(48.9% 0.201 315.3);
Tailwind
colors: {
  custom: {
    50: '#b06ec5',
    500: '#892aab',
    950: '#000000',
  },
}
SCSS
$custom: #892aab;
$custom-light: #b06ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#892aab",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 284.186,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4888,
    "c": 0.20057,
    "h": 315.3
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#892AAB
secondary
#84C46D
accent
#E4446E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #892AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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