#873FD5#873FD5

#873FD5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.217 H 301.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#873FD5
RGBrgb(135, 63, 213)
HSLhsl(269, 64%, 54%)
HSVhsv(269, 70%, 84%)
CMYKcmyk(36.6%, 70.4%, 0%, 16.5%)
CIE-LABlab(43.52, 58.49, -65.17)
CIE-LCHlch(43.52, 87.56, 311.91°)
OKLaboklab(53.91% 0.1129 -0.1857)
OKLCHoklch(53.91% 0.217 301.3)
XYZxyz(23.7765, 13.5099, 64.2929)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FD5 #8DD53F
analogous
#3F42D5 #873FD5 #D23FD5
triadic
#873FD5 #D5873F #3FD587
tetradic
#873FD5 #D53F42 #8DD53F #3FD5D2
square
#873FD5 #D53F42 #8DD53F #3FD5D2
split-complementary
#873FD5 #D5D23F #42D53F
monochromatic
#4B1C7E #6927B0 #873FD5 #A671E0 #C6A3EB

Accessibility & contrast

On white

5.67
#873FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#873FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FD5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FD5#FFFFFF#000000##FFFFFF
##873FD51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#766386
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #873fd5;
/* rgb */ color: rgb(135, 63, 213);
/* oklch */ color: oklch(53.9% 0.217 301.3);
Tailwind
colors: {
  custom: {
    50: '#b07ae3',
    500: '#873fd5',
    950: '#000000',
  },
}
SCSS
$custom: #873fd5;
$custom-light: #b07ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#873fd5",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 268.8,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.21734,
    "h": 301.3
  },
  "luminance": 0.1351
}

Semantic roles & 50–950 ramp

primary
#873FD5
secondary
#B9D898
accent
#E74197
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #873FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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