#892EA4#892EA4

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

Color values

HEX#892EA4
RGBrgb(137, 46, 164)
HSLhsl(286, 56%, 41%)
HSVhsv(286, 72%, 64%)
CMYKcmyk(16.5%, 72%, 0%, 35.7%)
CIE-LABlab(37.76, 55.38, -45.72)
CIE-LCHlch(37.76, 71.81, 320.46°)
OKLaboklab(48.78% 0.1395 -0.1285)
OKLCHoklch(48.78% 0.19 317.4)
XYZxyz(17.9934, 9.9535, 36.0882)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EA4 #49A42E
analogous
#4E2EA4 #892EA4 #A42E84
triadic
#892EA4 #A4892E #2EA489
tetradic
#892EA4 #A44E2E #49A42E #2E84A4
square
#892EA4 #A44E2E #49A42E #2E84A4
split-complementary
#892EA4 #84A42E #2EA44E
monochromatic
#391344 #612174 #892EA4 #AC45CB #C174D8

Accessibility & contrast

On white

7.02
#892EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#892EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892EA4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EA4#FFFFFF#000000##FFFFFF
##892EA41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#315CA1
Tritanopia (blue-blind)
#884666
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892ea4;
/* rgb */ color: rgb(137, 46, 164);
/* oklch */ color: oklch(48.8% 0.190 317.4);
Tailwind
colors: {
  custom: {
    50: '#af6fc0',
    500: '#892ea4',
    950: '#000000',
  },
}
SCSS
$custom: #892ea4;
$custom-light: #af6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#892ea4",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 286.271,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4878,
    "c": 0.18963,
    "h": 317.4
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#892EA4
secondary
#81C06E
accent
#DF486B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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