#892DB7#892DB7

#892DB7 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.208 H 311.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#892DB7
RGBrgb(137, 45, 183)
HSLhsl(280, 61%, 45%)
HSVhsv(280, 75%, 72%)
CMYKcmyk(25.1%, 75.4%, 0%, 28.2%)
CIE-LABlab(38.92, 59.66, -55.15)
CIE-LCHlch(38.92, 81.25, 317.25°)
OKLaboklab(50.02% 0.1379 -0.1561)
OKLCHoklch(50.02% 0.208 311.5)
XYZxyz(19.8005, 10.6145, 45.7963)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DB7 #5BB72D
analogous
#442DB7 #892DB7 #B72DA0
triadic
#892DB7 #B7892D #2DB789
tetradic
#892DB7 #B7442D #5BB72D #2DA0B7
square
#892DB7 #B7442D #5BB72D #2DA0B7
split-complementary
#892DB7 #A0B72D #2DB744
monochromatic
#3F1555 #642186 #892DB7 #A74ED3 #BF7FDF

Accessibility & contrast

On white

6.72
#892DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#892DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DB7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DB7#FFFFFF#000000##FFFFFF
##892DB71.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#135DB4
Tritanopia (blue-blind)
#834D70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #892db7;
/* rgb */ color: rgb(137, 45, 183);
/* oklch */ color: oklch(50.0% 0.208 311.5);
Tailwind
colors: {
  custom: {
    50: '#b070cd',
    500: '#892db7',
    950: '#000000',
  },
}
SCSS
$custom: #892db7;
$custom-light: #b070cd;
$custom-dark: #000000;
JSON
{
  "hex": "#892db7",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 280,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.20834,
    "h": 311.5
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#892DB7
secondary
#92C878
accent
#E44479
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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