#892DBC#892DBC

#892DBC is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.213 H 310.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#892DBC
RGBrgb(137, 45, 188)
HSLhsl(279, 61%, 46%)
HSVhsv(279, 76%, 74%)
CMYKcmyk(27.1%, 76.1%, 0%, 26.3%)
CIE-LABlab(39.29, 60.72, -57.51)
CIE-LCHlch(39.29, 83.63, 316.55°)
OKLaboklab(50.39% 0.137 -0.1631)
OKLCHoklch(50.39% 0.213 310)
XYZxyz(20.3302, 10.8264, 48.5859)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DBC #60BC2D
analogous
#412DBC #892DBC #BC2DA7
triadic
#892DBC #BC892D #2DBC89
tetradic
#892DBC #BC412D #60BC2D #2DA7BC
square
#892DBC #BC412D #60BC2D #2DA7BC
split-complementary
#892DBC #A7BC2D #2DBC41
monochromatic
#411559 #65218B #892DBC #A651D5 #BF82E1

Accessibility & contrast

On white

6.63
#892DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#892DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DBC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DBC#FFFFFF#000000##FFFFFF
##892DBC1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#824F73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #892dbc;
/* rgb */ color: rgb(137, 45, 188);
/* oklch */ color: oklch(50.4% 0.213 310.0);
Tailwind
colors: {
  custom: {
    50: '#b070d1',
    500: '#892dbc',
    950: '#000000',
  },
}
SCSS
$custom: #892dbc;
$custom-light: #b070d1;
$custom-dark: #000000;
JSON
{
  "hex": "#892dbc",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 278.601,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.213,
    "h": 310
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#892DBC
secondary
#97CA7B
accent
#E4437D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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