#892CA5#892CA5

#892CA5 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.193 H 317.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#892CA5
RGBrgb(137, 44, 165)
HSLhsl(286, 58%, 41%)
HSVhsv(286, 73%, 65%)
CMYKcmyk(17%, 73.3%, 0%, 35.3%)
CIE-LABlab(37.55, 56.36, -46.66)
CIE-LCHlch(37.55, 73.17, 320.38°)
OKLaboklab(48.65% 0.1414 -0.1312)
OKLCHoklch(48.65% 0.193 317.1)
XYZxyz(18.0077, 9.8371, 36.5402)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892CA5 #48A52C
analogous
#4C2CA5 #892CA5 #A52C84
triadic
#892CA5 #A5892C #2CA589
tetradic
#892CA5 #A54C2C #48A52C #2C84A5
square
#892CA5 #A54C2C #48A52C #2C84A5
split-complementary
#892CA5 #84A52C #2CA54C
monochromatic
#391244 #611F75 #892CA5 #AC42CD #C172D9

Accessibility & contrast

On white

7.08
#892CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892CA5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892CA5#FFFFFF#000000##FFFFFF
##892CA51.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#2E5BA2
Tritanopia (blue-blind)
#884566
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892ca5;
/* rgb */ color: rgb(137, 44, 165);
/* oklch */ color: oklch(48.7% 0.193 317.1);
Tailwind
colors: {
  custom: {
    50: '#af6ec0',
    500: '#892ca5',
    950: '#000000',
  },
}
SCSS
$custom: #892ca5;
$custom-light: #af6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#892ca5",
  "rgb": {
    "r": 137,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 286.116,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48651,
    "c": 0.1929,
    "h": 317.1
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#892CA5
secondary
#80C16C
accent
#E1476A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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