#873FDE#873FDE

#873FDE is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.227 H 299.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#873FDE
RGBrgb(135, 63, 222)
HSLhsl(267, 71%, 56%)
HSVhsv(267, 72%, 87%)
CMYKcmyk(39.2%, 71.6%, 0%, 12.9%)
CIE-LABlab(44.20, 60.65, -69.21)
CIE-LCHlch(44.20, 92.02, 311.23°)
OKLaboklab(54.61% 0.1112 -0.1976)
OKLCHoklch(54.61% 0.227 299.4)
XYZxyz(24.9507, 13.9795, 70.4769)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FDE #96DE3F
analogous
#3F46DE #873FDE #D73FDE
triadic
#873FDE #DE873F #3FDE87
tetradic
#873FDE #DE3F46 #96DE3F #3FDED7
square
#873FDE #DE3F46 #96DE3F #3FDED7
split-complementary
#873FDE #DED73F #46DE3F
monochromatic
#4C188B #6821BF #873FDE #A873E7 #C8A7F0

Accessibility & contrast

On white

5.53
#873FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#873FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FDE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FDE#FFFFFF#000000##FFFFFF
##873FDE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#72678B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #873fde;
/* rgb */ color: rgb(135, 63, 222);
/* oklch */ color: oklch(54.6% 0.227 299.4);
Tailwind
colors: {
  custom: {
    50: '#b17ae9',
    500: '#873fde',
    950: '#000000',
  },
}
SCSS
$custom: #873fde;
$custom-light: #b17ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#873fde",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 222
  },
  "hsl": {
    "h": 267.17,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54607,
    "c": 0.22676,
    "h": 299.4
  },
  "luminance": 0.1398
}

Semantic roles & 50–950 ramp

primary
#873FDE
secondary
#C0DD9B
accent
#ED3A9C
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #873FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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