#873FCE#873FCE

#873FCE is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.210 H 302.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#873FCE
RGBrgb(135, 63, 206)
HSLhsl(270, 59%, 53%)
HSVhsv(270, 69%, 81%)
CMYKcmyk(34.5%, 69.4%, 0%, 19.2%)
CIE-LABlab(43.01, 56.82, -61.97)
CIE-LCHlch(43.01, 84.08, 312.52°)
OKLaboklab(53.38% 0.114 -0.1764)
OKLCHoklch(53.38% 0.21 302.9)
XYZxyz(22.9071, 13.1621, 59.7143)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FCE #86CE3F
analogous
#403FCE #873FCE #CE3FCD
triadic
#873FCE #CE873F #3FCE87
tetradic
#873FCE #CE403F #86CE3F #3FCDCE
square
#873FCE #CE403F #86CE3F #3FCDCE
split-complementary
#873FCE #CDCE3F #3FCE40
monochromatic
#4A1E75 #682AA6 #873FCE #A570DA #C4A1E7

Accessibility & contrast

On white

5.78
#873FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #873FCE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FCE#FFFFFF#000000##FFFFFF
##873FCE1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#796182
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873fce;
/* rgb */ color: rgb(135, 63, 206);
/* oklch */ color: oklch(53.4% 0.210 302.9);
Tailwind
colors: {
  custom: {
    50: '#af7ade',
    500: '#873fce',
    950: '#000000',
  },
}
SCSS
$custom: #873fce;
$custom-light: #af7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#873fce",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 270.21,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.20999,
    "h": 302.9
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#873FCE
secondary
#B4D395
accent
#E34593
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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