#892AB7#892AB7

#892AB7 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.211 H 311.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#892AB7
RGBrgb(137, 42, 183)
HSLhsl(280, 63%, 44%)
HSVhsv(280, 77%, 72%)
CMYKcmyk(25.1%, 77%, 0%, 28.2%)
CIE-LABlab(38.54, 60.77, -55.77)
CIE-LCHlch(38.54, 82.48, 317.45°)
OKLaboklab(49.75% 0.1406 -0.1579)
OKLCHoklch(49.75% 0.211 311.7)
XYZxyz(19.6901, 10.3937, 45.7595)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892AB7 #58B72A
analogous
#432AB7 #892AB7 #B72A9F
triadic
#892AB7 #B7892A #2AB789
tetradic
#892AB7 #B7432A #58B72A #2A9FB7
square
#892AB7 #B7432A #58B72A #2A9FB7
split-complementary
#892AB7 #9FB72A #2AB743
monochromatic
#3E1353 #641F85 #892AB7 #A749D5 #BF7BE1

Accessibility & contrast

On white

6.82
#892AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#892AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892AB7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892AB7#FFFFFF#000000##FFFFFF
##892AB71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0D5CB4
Tritanopia (blue-blind)
#834C70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #892ab7;
/* rgb */ color: rgb(137, 42, 183);
/* oklch */ color: oklch(49.7% 0.211 311.7);
Tailwind
colors: {
  custom: {
    50: '#b06ecd',
    500: '#892ab7',
    950: '#000000',
  },
}
SCSS
$custom: #892ab7;
$custom-light: #b06ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#892ab7",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 280.426,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49749,
    "c": 0.21146,
    "h": 311.7
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#892AB7
secondary
#90C974
accent
#E64277
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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