#892DAB#892DAB

#892DAB is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.197 H 315.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#892DAB
RGBrgb(137, 45, 171)
HSLhsl(284, 58%, 42%)
HSVhsv(284, 74%, 67%)
CMYKcmyk(19.9%, 73.7%, 0%, 32.9%)
CIE-LABlab(38.09, 57.18, -49.39)
CIE-LCHlch(38.09, 75.56, 319.18°)
OKLaboklab(49.16% 0.1397 -0.1392)
OKLCHoklch(49.16% 0.197 315.1)
XYZxyz(18.6044, 10.1361, 39.4966)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DAB #4FAB2D
analogous
#4A2DAB #892DAB #AB2D8E
triadic
#892DAB #AB892D #2DAB89
tetradic
#892DAB #AB4A2D #4FAB2D #2D8EAB
square
#892DAB #AB4A2D #4FAB2D #2D8EAB
split-complementary
#892DAB #8EAB2D #2DAB4A
monochromatic
#3B144A #62207B #892DAB #AA47CE #C077DB

Accessibility & contrast

On white

6.94
#892DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#892DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DAB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DAB#FFFFFF#000000##FFFFFF
##892DAB1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#285CA8
Tritanopia (blue-blind)
#86486A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #892dab;
/* rgb */ color: rgb(137, 45, 171);
/* oklch */ color: oklch(49.2% 0.197 315.1);
Tailwind
colors: {
  custom: {
    50: '#af6fc5',
    500: '#892dab',
    950: '#000000',
  },
}
SCSS
$custom: #892dab;
$custom-light: #af6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#892dab",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 283.81,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.19724,
    "h": 315.1
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#892DAB
secondary
#87C371
accent
#E24670
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #892DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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