#892EA5#892EA5

#892EA5 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.191 H 317.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#892EA5
RGBrgb(137, 46, 165)
HSLhsl(286, 56%, 41%)
HSVhsv(286, 72%, 65%)
CMYKcmyk(17%, 72.1%, 0%, 35.3%)
CIE-LABlab(37.82, 55.58, -46.22)
CIE-LCHlch(37.82, 72.28, 320.25°)
OKLaboklab(48.85% 0.1394 -0.1299)
OKLCHoklch(48.85% 0.191 317)
XYZxyz(18.0840, 9.9897, 36.5656)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EA5 #4AA52E
analogous
#4E2EA5 #892EA5 #A52E86
triadic
#892EA5 #A5892E #2EA589
tetradic
#892EA5 #A54E2E #4AA52E #2E86A5
square
#892EA5 #A54E2E #4AA52E #2E86A5
split-complementary
#892EA5 #86A52E #2EA54E
monochromatic
#3A1345 #612175 #892EA5 #AC45CB #C175D8

Accessibility & contrast

On white

7.01
#892EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#892EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892EA5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EA5#FFFFFF#000000##FFFFFF
##892EA51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#305CA2
Tritanopia (blue-blind)
#884667
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892ea5;
/* rgb */ color: rgb(137, 46, 165);
/* oklch */ color: oklch(48.8% 0.191 317.0);
Tailwind
colors: {
  custom: {
    50: '#af6fc0',
    500: '#892ea5',
    950: '#000000',
  },
}
SCSS
$custom: #892ea5;
$custom-light: #af6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#892ea5",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 285.882,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.19055,
    "h": 317
  },
  "luminance": 0.09989
}

Semantic roles & 50–950 ramp

primary
#892EA5
secondary
#82C06F
accent
#E0486C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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