#892DA4#892DA4

#892DA4 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.191 H 317.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#892DA4
RGBrgb(137, 45, 164)
HSLhsl(286, 57%, 41%)
HSVhsv(286, 73%, 64%)
CMYKcmyk(16.5%, 72.6%, 0%, 35.7%)
CIE-LABlab(37.62, 55.77, -45.95)
CIE-LCHlch(37.62, 72.26, 320.52°)
OKLaboklab(48.68% 0.1405 -0.1291)
OKLCHoklch(48.68% 0.191 317.4)
XYZxyz(17.9548, 9.8762, 36.0753)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DA4 #48A42D
analogous
#4E2DA4 #892DA4 #A42D83
triadic
#892DA4 #A4892D #2DA489
tetradic
#892DA4 #A44E2D #48A42D #2D83A4
square
#892DA4 #A44E2D #48A42D #2D83A4
split-complementary
#892DA4 #83A42D #2DA44E
monochromatic
#391344 #612074 #892DA4 #AC43CB #C173D9

Accessibility & contrast

On white

7.06
#892DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#892DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892DA4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DA4#FFFFFF#000000##FFFFFF
##892DA41.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#305BA1
Tritanopia (blue-blind)
#884566
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892da4;
/* rgb */ color: rgb(137, 45, 164);
/* oklch */ color: oklch(48.7% 0.191 317.4);
Tailwind
colors: {
  custom: {
    50: '#af6fc0',
    500: '#892da4',
    950: '#000000',
  },
}
SCSS
$custom: #892da4;
$custom-light: #af6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#892da4",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 286.387,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.19082,
    "h": 317.4
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#892DA4
secondary
#80C06D
accent
#E0486A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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