#892EA7#892EA7

#892EA7 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.192 H 316.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#892EA7
RGBrgb(137, 46, 167)
HSLhsl(285, 57%, 42%)
HSVhsv(285, 72%, 65%)
CMYKcmyk(18%, 72.5%, 0%, 34.5%)
CIE-LABlab(37.96, 55.98, -47.20)
CIE-LCHlch(37.96, 73.23, 319.86°)
OKLaboklab(48.98% 0.1392 -0.1328)
OKLCHoklch(48.98% 0.192 316.3)
XYZxyz(18.2675, 10.0631, 37.5318)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EA7 #4CA72E
analogous
#4D2EA7 #892EA7 #A72E89
triadic
#892EA7 #A7892E #2EA789
tetradic
#892EA7 #A74D2E #4CA72E #2E89A7
square
#892EA7 #A74D2E #4CA72E #2E89A7
split-complementary
#892EA7 #89A72E #2EA74D
monochromatic
#3A1447 #622177 #892EA7 #AB46CC #C176D9

Accessibility & contrast

On white

6.97
#892EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#892EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892EA7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EA7#FFFFFF#000000##FFFFFF
##892EA71.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#874768
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892ea7;
/* rgb */ color: rgb(137, 46, 167);
/* oklch */ color: oklch(49.0% 0.192 316.3);
Tailwind
colors: {
  custom: {
    50: '#af6fc2',
    500: '#892ea7',
    950: '#000000',
  },
}
SCSS
$custom: #892ea7;
$custom-light: #af6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#892ea7",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 285.124,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.19239,
    "h": 316.3
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#892EA7
secondary
#84C170
accent
#E0486D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #892EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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