#892CA4#892CA4

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

Color values

HEX#892CA4
RGBrgb(137, 44, 164)
HSLhsl(287, 58%, 41%)
HSVhsv(287, 73%, 64%)
CMYKcmyk(16.5%, 73.2%, 0%, 35.7%)
CIE-LABlab(37.48, 56.16, -46.17)
CIE-LCHlch(37.48, 72.70, 320.58°)
OKLaboklab(48.58% 0.1415 -0.1297)
OKLCHoklch(48.58% 0.192 317.5)
XYZxyz(17.9171, 9.8008, 36.0627)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892CA4 #47A42C
analogous
#4D2CA4 #892CA4 #A42C83
triadic
#892CA4 #A4892C #2CA489
tetradic
#892CA4 #A44D2C #47A42C #2C83A4
square
#892CA4 #A44D2C #47A42C #2C83A4
split-complementary
#892CA4 #83A42C #2CA44D
monochromatic
#381243 #611F74 #892CA4 #AD41CC #C271D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##892CA4#FFFFFF#000000##FFFFFF
##892CA41.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)
#0052A7
Deuteranopia (green-blind)
#2F5BA1
Tritanopia (blue-blind)
#884465
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892ca4;
/* rgb */ color: rgb(137, 44, 164);
/* oklch */ color: oklch(48.6% 0.192 317.5);
Tailwind
colors: {
  custom: {
    50: '#af6ec0',
    500: '#892ca4',
    950: '#000000',
  },
}
SCSS
$custom: #892ca4;
$custom-light: #af6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#892ca4",
  "rgb": {
    "r": 137,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 286.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.19199,
    "h": 317.5
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#892CA4
secondary
#7FC06B
accent
#E1476A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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