#892DA2#892DA2

#892DA2 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.189 H 318.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#892DA2
RGBrgb(137, 45, 162)
HSLhsl(287, 57%, 41%)
HSVhsv(287, 72%, 64%)
CMYKcmyk(15.4%, 72.2%, 0%, 36.5%)
CIE-LABlab(37.49, 55.38, -44.95)
CIE-LCHlch(37.49, 71.32, 320.93°)
OKLaboklab(48.55% 0.1407 -0.1262)
OKLCHoklch(48.55% 0.189 318.1)
XYZxyz(17.7756, 9.8046, 35.1316)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DA2 #46A22D
analogous
#4E2DA2 #892DA2 #A22D81
triadic
#892DA2 #A2892D #2DA289
tetradic
#892DA2 #A24E2D #46A22D #2D81A2
square
#892DA2 #A24E2D #46A22D #2D81A2
split-complementary
#892DA2 #81A22D #2DA24E
monochromatic
#381242 #602072 #892DA2 #AD42CA #C272D8

Accessibility & contrast

On white

7.09
#892DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#892DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892DA2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DA2#FFFFFF#000000##FFFFFF
##892DA21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#325B9F
Tritanopia (blue-blind)
#884465
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892da2;
/* rgb */ color: rgb(137, 45, 162);
/* oklch */ color: oklch(48.5% 0.189 318.1);
Tailwind
colors: {
  custom: {
    50: '#af6fbe',
    500: '#892da2',
    950: '#000000',
  },
}
SCSS
$custom: #892da2;
$custom-light: #af6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#892da2",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 287.179,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.189,
    "h": 318.1
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#892DA2
secondary
#7DBF6C
accent
#E04868
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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