#892AB5#892AB5

#892AB5 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.210 H 312.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#892AB5
RGBrgb(137, 42, 181)
HSLhsl(281, 62%, 44%)
HSVhsv(281, 77%, 71%)
CMYKcmyk(24.3%, 76.8%, 0%, 29%)
CIE-LABlab(38.39, 60.35, -54.83)
CIE-LCHlch(38.39, 81.54, 317.75°)
OKLaboklab(49.6% 0.141 -0.1552)
OKLCHoklch(49.6% 0.21 312.3)
XYZxyz(19.4834, 10.3110, 44.6710)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892AB5 #56B52A
analogous
#432AB5 #892AB5 #B52A9B
triadic
#892AB5 #B5892A #2AB589
tetradic
#892AB5 #B5432A #56B52A #2A9BB5
square
#892AB5 #B5432A #56B52A #2A9BB5
split-complementary
#892AB5 #9BB52A #2AB543
monochromatic
#3E1352 #631E83 #892AB5 #A848D4 #C079E0

Accessibility & contrast

On white

6.86
#892AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#892AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892AB5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892AB5#FFFFFF#000000##FFFFFF
##892AB51.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#135CB2
Tritanopia (blue-blind)
#844B6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #892ab5;
/* rgb */ color: rgb(137, 42, 181);
/* oklch */ color: oklch(49.6% 0.210 312.3);
Tailwind
colors: {
  custom: {
    50: '#b06ecc',
    500: '#892ab5',
    950: '#000000',
  },
}
SCSS
$custom: #892ab5;
$custom-light: #b06ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#892ab5",
  "rgb": {
    "r": 137,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 281.007,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.20964,
    "h": 312.3
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#892AB5
secondary
#8EC873
accent
#E54276
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #892AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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