#892DB5#892DB5

#892DB5 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.206 H 312.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#892DB5
RGBrgb(137, 45, 181)
HSLhsl(281, 60%, 44%)
HSVhsv(281, 75%, 71%)
CMYKcmyk(24.3%, 75.1%, 0%, 29%)
CIE-LABlab(38.78, 59.25, -54.20)
CIE-LCHlch(38.78, 80.30, 317.54°)
OKLaboklab(49.87% 0.1383 -0.1533)
OKLCHoklch(49.87% 0.206 312)
XYZxyz(19.5939, 10.5319, 44.7078)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DB5 #59B52D
analogous
#452DB5 #892DB5 #B52D9D
triadic
#892DB5 #B5892D #2DB589
tetradic
#892DB5 #B5452D #59B52D #2D9DB5
square
#892DB5 #B5452D #59B52D #2D9DB5
split-complementary
#892DB5 #9DB52D #2DB545
monochromatic
#3F1553 #642184 #892DB5 #A74DD3 #BF7EDF

Accessibility & contrast

On white

6.76
#892DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#892DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DB5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DB5#FFFFFF#000000##FFFFFF
##892DB51.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#844C6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #892db5;
/* rgb */ color: rgb(137, 45, 181);
/* oklch */ color: oklch(49.9% 0.206 312.0);
Tailwind
colors: {
  custom: {
    50: '#b070cc',
    500: '#892db5',
    950: '#000000',
  },
}
SCSS
$custom: #892db5;
$custom-light: #b070cc;
$custom-dark: #000000;
JSON
{
  "hex": "#892db5",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 280.588,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49873,
    "c": 0.20649,
    "h": 312
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

primary
#892DB5
secondary
#91C776
accent
#E34478
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #892DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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