#892EA8#892EA8

#892EA8 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.193 H 316.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#892EA8
RGBrgb(137, 46, 168)
HSLhsl(285, 57%, 42%)
HSVhsv(285, 73%, 66%)
CMYKcmyk(18.5%, 72.6%, 0%, 34.1%)
CIE-LABlab(38.02, 56.18, -47.70)
CIE-LCHlch(38.02, 73.70, 319.67°)
OKLaboklab(49.05% 0.1391 -0.1343)
OKLCHoklch(49.05% 0.193 316)
XYZxyz(18.3603, 10.1002, 38.0206)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892EA8 #4DA82E
analogous
#4C2EA8 #892EA8 #A82E8A
triadic
#892EA8 #A8892E #2EA889
tetradic
#892EA8 #A84C2E #4DA82E #2E8AA8
square
#892EA8 #A84C2E #4DA82E #2E8AA8
split-complementary
#892EA8 #8AA82E #2EA84C
monochromatic
#3B1448 #622178 #892EA8 #AB47CD #C177DA

Accessibility & contrast

On white

6.95
#892EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#892EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892EA8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892EA8#FFFFFF#000000##FFFFFF
##892EA81.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #892ea8;
/* rgb */ color: rgb(137, 46, 168);
/* oklch */ color: oklch(49.1% 0.193 316.0);
Tailwind
colors: {
  custom: {
    50: '#af6fc2',
    500: '#892ea8',
    950: '#000000',
  },
}
SCSS
$custom: #892ea8;
$custom-light: #af6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#892ea8",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 284.754,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.19332,
    "h": 316
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#892EA8
secondary
#85C270
accent
#E0486E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #892EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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