#892BAA#892BAA

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

Color values

HEX#892BAA
RGBrgb(137, 43, 170)
HSLhsl(284, 60%, 42%)
HSVhsv(284, 75%, 67%)
CMYKcmyk(19.4%, 74.7%, 0%, 33.3%)
CIE-LABlab(37.75, 57.74, -49.33)
CIE-LCHlch(37.75, 75.94, 319.49°)
OKLaboklab(48.9% 0.1418 -0.139)
OKLCHoklch(48.9% 0.199 315.6)
XYZxyz(18.4349, 9.9491, 38.9717)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892BAA #4CAA2B
analogous
#492BAA #892BAA #AA2B8C
triadic
#892BAA #AA892B #2BAA89
tetradic
#892BAA #AA492B #4CAA2B #2B8CAA
square
#892BAA #AA492B #4CAA2B #2B8CAA
split-complementary
#892BAA #8CAA2B #2BAA49
monochromatic
#3A1248 #621F79 #892BAA #AB43CF #C174DC

Accessibility & contrast

On white

7.02
#892BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#892BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892BAA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892BAA#FFFFFF#000000##FFFFFF
##892BAA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#285BA7
Tritanopia (blue-blind)
#874769
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892baa;
/* rgb */ color: rgb(137, 43, 170);
/* oklch */ color: oklch(48.9% 0.199 315.6);
Tailwind
colors: {
  custom: {
    50: '#af6ec4',
    500: '#892baa',
    950: '#000000',
  },
}
SCSS
$custom: #892baa;
$custom-light: #af6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#892baa",
  "rgb": {
    "r": 137,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 284.409,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48901,
    "c": 0.19857,
    "h": 315.6
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#892BAA
secondary
#84C36E
accent
#E3456E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #892BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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