#892EA2#892EA2

#892EA2 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.188 H 318.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#892EA2
RGBrgb(137, 46, 162)
HSLhsl(287, 56%, 41%)
HSVhsv(287, 72%, 64%)
CMYKcmyk(15.4%, 71.6%, 0%, 36.5%)
CIE-LABlab(37.63, 54.98, -44.73)
CIE-LCHlch(37.63, 70.87, 320.87°)
OKLaboklab(48.65% 0.1396 -0.1256)
OKLCHoklch(48.65% 0.188 318)
XYZxyz(17.8142, 9.8818, 35.1444)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EA2 #47A22E
analogous
#4F2EA2 #892EA2 #A22E81
triadic
#892EA2 #A2892E #2EA289
tetradic
#892EA2 #A24F2E #47A22E #2E81A2
square
#892EA2 #A24F2E #47A22E #2E81A2
split-complementary
#892EA2 #81A22E #2EA24F
monochromatic
#381343 #612072 #892EA2 #AD43CA #C273D7

Accessibility & contrast

On white

7.06
#892EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#892EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892EA2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EA2#FFFFFF#000000##FFFFFF
##892EA21.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#335B9F
Tritanopia (blue-blind)
#884565
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892ea2;
/* rgb */ color: rgb(137, 46, 162);
/* oklch */ color: oklch(48.6% 0.188 318.0);
Tailwind
colors: {
  custom: {
    50: '#af6fbe',
    500: '#892ea2',
    950: '#000000',
  },
}
SCSS
$custom: #892ea2;
$custom-light: #af6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#892ea2",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 287.069,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48646,
    "c": 0.18779,
    "h": 318
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#892EA2
secondary
#7FBF6D
accent
#DF4969
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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