#892AA8#892AA8

#892AA8 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 316.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#892AA8
RGBrgb(137, 42, 168)
HSLhsl(285, 60%, 41%)
HSVhsv(285, 75%, 66%)
CMYKcmyk(18.5%, 75%, 0%, 34.1%)
CIE-LABlab(37.49, 57.71, -48.56)
CIE-LCHlch(37.49, 75.42, 319.92°)
OKLaboklab(48.67% 0.143 -0.1368)
OKLCHoklch(48.67% 0.198 316.3)
XYZxyz(18.2113, 9.8022, 37.9709)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892AA8 #49A82A
analogous
#4A2AA8 #892AA8 #A82A88
triadic
#892AA8 #A8892A #2AA889
tetradic
#892AA8 #A84A2A #49A82A #2A88A8
square
#892AA8 #A84A2A #49A82A #2A88A8
split-complementary
#892AA8 #88A82A #2AA84A
monochromatic
#391246 #611E77 #892AA8 #AC40CF #C171DB

Accessibility & contrast

On white

7.09
#892AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#892AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892AA8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892AA8#FFFFFF#000000##FFFFFF
##892AA81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#295BA5
Tritanopia (blue-blind)
#874567
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892aa8;
/* rgb */ color: rgb(137, 42, 168);
/* oklch */ color: oklch(48.7% 0.198 316.3);
Tailwind
colors: {
  custom: {
    50: '#af6ec2',
    500: '#892aa8',
    950: '#000000',
  },
}
SCSS
$custom: #892aa8;
$custom-light: #af6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#892aa8",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 285.238,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.19786,
    "h": 316.3
  },
  "luminance": 0.09801
}

Semantic roles & 50–950 ramp

primary
#892AA8
secondary
#81C36B
accent
#E3456C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #892AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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