#892AAA#892AAA

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

Color values

HEX#892AAA
RGBrgb(137, 42, 170)
HSLhsl(285, 60%, 42%)
HSVhsv(285, 75%, 67%)
CMYKcmyk(19.4%, 75.3%, 0%, 33.3%)
CIE-LABlab(37.62, 58.11, -49.54)
CIE-LCHlch(37.62, 76.36, 319.55°)
OKLaboklab(48.81% 0.1427 -0.1396)
OKLCHoklch(48.81% 0.2 315.6)
XYZxyz(18.3990, 9.8773, 38.9597)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892AAA #4BAA2A
analogous
#492AAA #892AAA #AA2A8B
triadic
#892AAA #AA892A #2AAA89
tetradic
#892AAA #AA492A #4BAA2A #2A8BAA
square
#892AAA #AA492A #4BAA2A #2A8BAA
split-complementary
#892AAA #8BAA2A #2AAA49
monochromatic
#3A1248 #611E79 #892AAA #AB41D0 #C172DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##892AAA#FFFFFF#000000##FFFFFF
##892AAA1.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)
#0053AE
Deuteranopia (green-blind)
#275BA7
Tritanopia (blue-blind)
#874668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892aaa;
/* rgb */ color: rgb(137, 42, 170);
/* oklch */ color: oklch(48.8% 0.200 315.6);
Tailwind
colors: {
  custom: {
    50: '#b06ec4',
    500: '#892aaa',
    950: '#000000',
  },
}
SCSS
$custom: #892aaa;
$custom-light: #b06ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#892aaa",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 284.531,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.19967,
    "h": 315.6
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#892AAA
secondary
#83C36C
accent
#E4446D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #892AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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