#892DB8#892DB8

#892DB8 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.209 H 311.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#892DB8
RGBrgb(137, 45, 184)
HSLhsl(280, 61%, 45%)
HSVhsv(280, 76%, 72%)
CMYKcmyk(25.5%, 75.5%, 0%, 27.8%)
CIE-LABlab(39.00, 59.87, -55.63)
CIE-LCHlch(39.00, 81.73, 317.11°)
OKLaboklab(50.09% 0.1378 -0.1575)
OKLCHoklch(50.09% 0.209 311.2)
XYZxyz(19.9050, 10.6563, 46.3464)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DB8 #5CB82D
analogous
#432DB8 #892DB8 #B82DA2
triadic
#892DB8 #B8892D #2DB889
tetradic
#892DB8 #B8432D #5CB82D #2DA2B8
square
#892DB8 #B8432D #5CB82D #2DA2B8
split-complementary
#892DB8 #A2B82D #2DB843
monochromatic
#401556 #642187 #892DB8 #A74ED4 #BF80E0

Accessibility & contrast

On white

6.71
#892DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#892DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DB8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DB8#FFFFFF#000000##FFFFFF
##892DB81.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#105DB5
Tritanopia (blue-blind)
#834E71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #892db8;
/* rgb */ color: rgb(137, 45, 184);
/* oklch */ color: oklch(50.1% 0.209 311.2);
Tailwind
colors: {
  custom: {
    50: '#b070ce',
    500: '#892db8',
    950: '#000000',
  },
}
SCSS
$custom: #892db8;
$custom-light: #b070ce;
$custom-dark: #000000;
JSON
{
  "hex": "#892db8",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 279.712,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.20928,
    "h": 311.2
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#892DB8
secondary
#93C978
accent
#E4447A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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