#873EEC#873EEC

#873EEC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.6% C 0.242 H 296.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#873EEC
RGBrgb(135, 62, 236)
HSLhsl(265, 82%, 58%)
HSVhsv(265, 74%, 93%)
CMYKcmyk(42.8%, 73.7%, 0%, 7.5%)
CIE-LABlab(45.15, 64.48, -75.60)
CIE-LCHlch(45.15, 99.37, 310.46°)
OKLaboklab(55.62% 0.1091 -0.2164)
OKLCHoklch(55.62% 0.242 296.7)
XYZxyz(26.8506, 14.6517, 80.7540)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EEC #A3EC3E
analogous
#3E4CEC #873EEC #DE3EEC
triadic
#873EEC #EC873E #3EEC87
tetradic
#873EEC #EC3E4C #A3EC3E #3EECDE
square
#873EEC #EC3E4C #A3EC3E #3EECDE
split-complementary
#873EEC #ECDE3E #4CEC3E
monochromatic
#4C10A0 #6715D8 #873EEC #AA76F1 #CCADF7

Accessibility & contrast

On white

5.34
#873EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#873EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EEC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EEC#FFFFFF#000000##FFFFFF
##873EEC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#6C6C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #873eec;
/* rgb */ color: rgb(135, 62, 236);
/* oklch */ color: oklch(55.6% 0.242 296.7);
Tailwind
colors: {
  custom: {
    50: '#b27af3',
    500: '#873eec',
    950: '#000000',
  },
}
SCSS
$custom: #873eec;
$custom-light: #b27af3;
$custom-dark: #000000;
JSON
{
  "hex": "#873eec",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 236
  },
  "hsl": {
    "h": 265.172,
    "s": 82.075,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.24233,
    "h": 296.7
  },
  "luminance": 0.14652
}

Semantic roles & 50–950 ramp

primary
#873EEC
secondary
#C8E5A0
accent
#F82FA4
background
#FBF7FF
surface
#F6EEFE
border
#D0C9D6
text
#120A17
muted
#817C85

Preview Lab

Preview with #873EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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