#892DB9#892DB9

#892DB9 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.210 H 310.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#892DB9
RGBrgb(137, 45, 185)
HSLhsl(279, 61%, 45%)
HSVhsv(279, 76%, 73%)
CMYKcmyk(25.9%, 75.7%, 0%, 27.5%)
CIE-LABlab(39.07, 60.08, -56.10)
CIE-LCHlch(39.07, 82.20, 316.96°)
OKLaboklab(50.17% 0.1376 -0.1589)
OKLCHoklch(50.17% 0.21 310.9)
XYZxyz(20.0102, 10.6984, 46.9004)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DB9 #5DB92D
analogous
#432DB9 #892DB9 #B92DA3
triadic
#892DB9 #B9892D #2DB989
tetradic
#892DB9 #B9432D #5DB92D #2DA3B9
square
#892DB9 #B9432D #5DB92D #2DA3B9
split-complementary
#892DB9 #A3B92D #2DB943
monochromatic
#401557 #652188 #892DB9 #A74FD4 #BF80E0

Accessibility & contrast

On white

6.69
#892DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#892DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DB9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DB9#FFFFFF#000000##FFFFFF
##892DB91.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0D5EB6
Tritanopia (blue-blind)
#834E72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #892db9;
/* rgb */ color: rgb(137, 45, 185);
/* oklch */ color: oklch(50.2% 0.210 310.9);
Tailwind
colors: {
  custom: {
    50: '#b070cf',
    500: '#892db9',
    950: '#000000',
  },
}
SCSS
$custom: #892db9;
$custom-light: #b070cf;
$custom-dark: #000000;
JSON
{
  "hex": "#892db9",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 279.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.21021,
    "h": 310.9
  },
  "luminance": 0.10698
}

Semantic roles & 50–950 ramp

primary
#892DB9
secondary
#94C979
accent
#E4447B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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