#873FD0#873FD0

#873FD0 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.212 H 302.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#873FD0
RGBrgb(135, 63, 208)
HSLhsl(270, 61%, 53%)
HSVhsv(270, 70%, 82%)
CMYKcmyk(35.1%, 69.7%, 0%, 18.4%)
CIE-LABlab(43.15, 57.29, -62.89)
CIE-LCHlch(43.15, 85.08, 312.33°)
OKLaboklab(53.53% 0.1137 -0.1791)
OKLCHoklch(53.53% 0.212 302.4)
XYZxyz(23.1517, 13.2599, 61.0020)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FD0 #88D03F
analogous
#3F3FD0 #873FD0 #CF3FD0
triadic
#873FD0 #D0873F #3FD087
tetradic
#873FD0 #D03F3F #88D03F #3FD0CF
square
#873FD0 #D03F3F #88D03F #3FD0CF
split-complementary
#873FD0 #D0CF3F #3FD03F
monochromatic
#4A1D77 #6829A9 #873FD0 #A670DC #C4A1E8

Accessibility & contrast

On white

5.75
#873FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #873FD0
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FD0#FFFFFF#000000##FFFFFF
##873FD01.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#786183
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873fd0;
/* rgb */ color: rgb(135, 63, 208);
/* oklch */ color: oklch(53.5% 0.212 302.4);
Tailwind
colors: {
  custom: {
    50: '#b07adf',
    500: '#873fd0',
    950: '#000000',
  },
}
SCSS
$custom: #873fd0;
$custom-light: #b07adf;
$custom-dark: #000000;
JSON
{
  "hex": "#873fd0",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 208
  },
  "hsl": {
    "h": 269.793,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53532,
    "c": 0.2121,
    "h": 302.4
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#873FD0
secondary
#B6D596
accent
#E44494
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #873FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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