#892DB2#892DB2

#892DB2 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.204 H 312.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#892DB2
RGBrgb(137, 45, 178)
HSLhsl(282, 60%, 44%)
HSVhsv(282, 75%, 70%)
CMYKcmyk(23%, 74.7%, 0%, 30.2%)
CIE-LABlab(38.57, 58.62, -52.77)
CIE-LCHlch(38.57, 78.87, 318.01°)
OKLaboklab(49.66% 0.1388 -0.1491)
OKLCHoklch(49.66% 0.204 312.9)
XYZxyz(19.2894, 10.4101, 43.1041)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DB2 #56B22D
analogous
#462DB2 #892DB2 #B22D98
triadic
#892DB2 #B2892D #2DB289
tetradic
#892DB2 #B2462D #56B22D #2D98B2
square
#892DB2 #B2462D #56B22D #2D98B2
split-complementary
#892DB2 #98B22D #2DB246
monochromatic
#3E1450 #632181 #892DB2 #A84BD1 #C07CDE

Accessibility & contrast

On white

6.81
#892DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#892DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DB2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DB2#FFFFFF#000000##FFFFFF
##892DB21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#1E5DAF
Tritanopia (blue-blind)
#844B6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #892db2;
/* rgb */ color: rgb(137, 45, 178);
/* oklch */ color: oklch(49.7% 0.204 312.9);
Tailwind
colors: {
  custom: {
    50: '#b06fca',
    500: '#892db2',
    950: '#000000',
  },
}
SCSS
$custom: #892db2;
$custom-light: #b06fca;
$custom-dark: #000000;
JSON
{
  "hex": "#892db2",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 281.504,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.20371,
    "h": 312.9
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#892DB2
secondary
#8EC675
accent
#E34576
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #892DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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