#892DB4#892DB4

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

Color values

HEX#892DB4
RGBrgb(137, 45, 180)
HSLhsl(281, 60%, 44%)
HSVhsv(281, 75%, 71%)
CMYKcmyk(23.9%, 75%, 0%, 29.4%)
CIE-LABlab(38.71, 59.04, -53.73)
CIE-LCHlch(38.71, 79.82, 317.70°)
OKLaboklab(49.8% 0.1385 -0.1519)
OKLCHoklch(49.8% 0.206 312.3)
XYZxyz(19.4916, 10.4910, 44.1694)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DB4 #58B42D
analogous
#462DB4 #892DB4 #B42D9C
triadic
#892DB4 #B4892D #2DB489
tetradic
#892DB4 #B4462D #58B42D #2D9CB4
square
#892DB4 #B4462D #58B42D #2D9CB4
split-complementary
#892DB4 #9CB42D #2DB446
monochromatic
#3E1552 #642183 #892DB4 #A74CD2 #BF7DDE

Accessibility & contrast

On white

6.78
#892DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#892DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DB4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DB4#FFFFFF#000000##FFFFFF
##892DB41.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#1A5DB1
Tritanopia (blue-blind)
#844C6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #892db4;
/* rgb */ color: rgb(137, 45, 180);
/* oklch */ color: oklch(49.8% 0.206 312.3);
Tailwind
colors: {
  custom: {
    50: '#b070cb',
    500: '#892db4',
    950: '#000000',
  },
}
SCSS
$custom: #892db4;
$custom-light: #b070cb;
$custom-dark: #000000;
JSON
{
  "hex": "#892db4",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 280.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.498,
    "c": 0.20557,
    "h": 312.3
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#892DB4
secondary
#90C776
accent
#E34577
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #892DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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