#892AA2#892AA2

#892AA2 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.192 H 318.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#892AA2
RGBrgb(137, 42, 162)
HSLhsl(288, 59%, 40%)
HSVhsv(288, 74%, 64%)
CMYKcmyk(15.4%, 74.1%, 0%, 36.5%)
CIE-LABlab(37.08, 56.53, -45.60)
CIE-LCHlch(37.08, 72.63, 321.11°)
OKLaboklab(48.26% 0.1437 -0.1281)
OKLCHoklch(48.26% 0.192 318.3)
XYZxyz(17.6652, 9.5837, 35.0948)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892AA2 #43A22A
analogous
#4D2AA2 #892AA2 #A22A7F
triadic
#892AA2 #A2892A #2AA289
tetradic
#892AA2 #A24D2A #43A22A #2A7FA2
square
#892AA2 #A24D2A #43A22A #2A7FA2
split-complementary
#892AA2 #7FA22A #2AA24D
monochromatic
#371141 #601D71 #892AA2 #AF3DCD #C36DD9

Accessibility & contrast

On white

7.20
#892AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#892AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892AA2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892AA2#FFFFFF#000000##FFFFFF
##892AA21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#305A9F
Tritanopia (blue-blind)
#884264
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #892aa2;
/* rgb */ color: rgb(137, 42, 162);
/* oklch */ color: oklch(48.3% 0.192 318.3);
Tailwind
colors: {
  custom: {
    50: '#af6dbe',
    500: '#892aa2',
    950: '#000000',
  },
}
SCSS
$custom: #892aa2;
$custom-light: #af6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#892aa2",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 287.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.48258,
    "c": 0.19249,
    "h": 318.3
  },
  "luminance": 0.09583
}

Semantic roles & 50–950 ramp

primary
#892AA2
secondary
#7AC068
accent
#E24666
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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