#873FD9#873FD9

#873FD9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.222 H 300.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#873FD9
RGBrgb(135, 63, 217)
HSLhsl(268, 67%, 55%)
HSVhsv(268, 71%, 85%)
CMYKcmyk(37.8%, 71%, 0%, 14.9%)
CIE-LABlab(43.82, 59.45, -66.97)
CIE-LCHlch(43.82, 89.55, 311.59°)
OKLaboklab(54.22% 0.1121 -0.191)
OKLCHoklch(54.22% 0.222 300.4)
XYZxyz(24.2905, 13.7155, 66.9998)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FD9 #91D93F
analogous
#3F44D9 #873FD9 #D43FD9
triadic
#873FD9 #D9873F #3FD987
tetradic
#873FD9 #D93F44 #91D93F #3FD9D4
square
#873FD9 #D93F44 #91D93F #3FD9D4
split-complementary
#873FD9 #D9D43F #44D93F
monochromatic
#4B1A84 #6924B7 #873FD9 #A772E3 #C7A5ED

Accessibility & contrast

On white

5.61
#873FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#873FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FD9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FD9#FFFFFF#000000##FFFFFF
##873FD91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#756588
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #873fd9;
/* rgb */ color: rgb(135, 63, 217);
/* oklch */ color: oklch(54.2% 0.222 300.4);
Tailwind
colors: {
  custom: {
    50: '#b07ae6',
    500: '#873fd9',
    950: '#000000',
  },
}
SCSS
$custom: #873fd9;
$custom-light: #b07ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#873fd9",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 268.052,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.22153,
    "h": 300.4
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#873FD9
secondary
#BCDA9A
accent
#EA3E99
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #873FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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