#873DD2#873DD2

#873DD2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.217 H 302.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#873DD2
RGBrgb(135, 61, 210)
HSLhsl(270, 62%, 53%)
HSVhsv(270, 71%, 82%)
CMYKcmyk(35.7%, 71%, 0%, 17.6%)
CIE-LABlab(42.98, 58.68, -64.33)
CIE-LCHlch(42.98, 87.07, 312.37°)
OKLaboklab(53.45% 0.1153 -0.1833)
OKLCHoklch(53.45% 0.217 302.2)
XYZxyz(23.2905, 13.1415, 62.2698)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DD2 #88D23D
analogous
#3D3DD2 #873DD2 #D23DD2
triadic
#873DD2 #D2873D #3DD287
tetradic
#873DD2 #D23D3D #88D23D #3DD2D2
square
#873DD2 #D23D3D #88D23D #3DD2D2
split-complementary
#873DD2 #D2D23D #3DD23D
monochromatic
#4A1C79 #6828AA #873DD2 #A66FDE #C4A0E9

Accessibility & contrast

On white

5.79
#873DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#873DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DD2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DD2#FFFFFF#000000##FFFFFF
##873DD21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#776184
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #873dd2;
/* rgb */ color: rgb(135, 61, 210);
/* oklch */ color: oklch(53.5% 0.217 302.2);
Tailwind
colors: {
  custom: {
    50: '#b079e1',
    500: '#873dd2',
    950: '#000000',
  },
}
SCSS
$custom: #873dd2;
$custom-light: #b079e1;
$custom-dark: #000000;
JSON
{
  "hex": "#873dd2",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 269.799,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.21654,
    "h": 302.2
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#873DD2
secondary
#B6D695
accent
#E54294
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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