#873DD4#873DD4

#873DD4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.219 H 301.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#873DD4
RGBrgb(135, 61, 212)
HSLhsl(269, 64%, 54%)
HSVhsv(269, 71%, 83%)
CMYKcmyk(36.3%, 71.2%, 0%, 16.9%)
CIE-LABlab(43.13, 59.15, -65.24)
CIE-LCHlch(43.13, 88.06, 312.20°)
OKLaboklab(53.61% 0.115 -0.1859)
OKLCHoklch(53.61% 0.219 301.7)
XYZxyz(23.5412, 13.2417, 63.5903)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DD4 #8AD43D
analogous
#3D3ED4 #873DD4 #D23DD4
triadic
#873DD4 #D4873D #3DD487
tetradic
#873DD4 #D43D3E #8AD43D #3DD4D2
square
#873DD4 #D43D3E #8AD43D #3DD4D2
split-complementary
#873DD4 #D4D23D #3ED43D
monochromatic
#4A1B7B #6926AD #873DD4 #A66FDF #C5A1EA

Accessibility & contrast

On white

5.76
#873DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#873DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DD4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DD4#FFFFFF#000000##FFFFFF
##873DD41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#776285
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873dd4;
/* rgb */ color: rgb(135, 61, 212);
/* oklch */ color: oklch(53.6% 0.219 301.7);
Tailwind
colors: {
  custom: {
    50: '#b079e2',
    500: '#873dd4',
    950: '#000000',
  },
}
SCSS
$custom: #873dd4;
$custom-light: #b079e2;
$custom-dark: #000000;
JSON
{
  "hex": "#873dd4",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 269.404,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.21861,
    "h": 301.7
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#873DD4
secondary
#B7D796
accent
#E74196
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #873DD4

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

Preview Lab → · Contrast checker → · Palette generator →

#873DD4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva