#892EA1#892EA1

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

Color values

HEX#892EA1
RGBrgb(137, 46, 161)
HSLhsl(287, 56%, 41%)
HSVhsv(287, 71%, 63%)
CMYKcmyk(14.9%, 71.4%, 0%, 36.9%)
CIE-LABlab(37.57, 54.78, -44.23)
CIE-LCHlch(37.57, 70.41, 321.08°)
OKLaboklab(48.58% 0.1397 -0.1241)
OKLCHoklch(48.58% 0.187 318.4)
XYZxyz(17.7257, 9.8464, 34.6781)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EA1 #46A12E
analogous
#4F2EA1 #892EA1 #A12E7F
triadic
#892EA1 #A1892E #2EA189
tetradic
#892EA1 #A14F2E #46A12E #2E7FA1
square
#892EA1 #A14F2E #46A12E #2E7FA1
split-complementary
#892EA1 #7FA12E #2EA14F
monochromatic
#381342 #602071 #892EA1 #AD43C9 #C273D7

Accessibility & contrast

On white

7.07
#892EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892EA1
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EA1#FFFFFF#000000##FFFFFF
##892EA11.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#345B9E
Tritanopia (blue-blind)
#894464
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892ea1;
/* rgb */ color: rgb(137, 46, 161);
/* oklch */ color: oklch(48.6% 0.187 318.4);
Tailwind
colors: {
  custom: {
    50: '#af6fbd',
    500: '#892ea1',
    950: '#000000',
  },
}
SCSS
$custom: #892ea1;
$custom-light: #af6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#892ea1",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 287.478,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4858,
    "c": 0.18687,
    "h": 318.4
  },
  "luminance": 0.09846
}

Semantic roles & 50–950 ramp

primary
#892EA1
secondary
#7DBE6C
accent
#DF4968
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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