#873EBC#873EBC

#873EBC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.0% C 0.192 H 307.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#873EBC
RGBrgb(135, 62, 188)
HSLhsl(275, 50%, 49%)
HSVhsv(275, 67%, 74%)
CMYKcmyk(28.2%, 67%, 0%, 26.3%)
CIE-LABlab(41.58, 53.09, -53.82)
CIE-LCHlch(41.58, 75.60, 314.61°)
OKLaboklab(51.96% 0.1173 -0.1524)
OKLCHoklch(51.96% 0.192 307.6)
XYZxyz(20.7895, 12.2273, 48.8321)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EBC #73BC3E
analogous
#483EBC #873EBC #BC3EB2
triadic
#873EBC #BC873E #3EBC87
tetradic
#873EBC #BC483E #73BC3E #3EB2BC
square
#873EBC #BC483E #73BC3E #3EB2BC
split-complementary
#873EBC #B2BC3E #3EBC48
monochromatic
#452060 #662F8E #873EBC #A46ACE #C098DD

Accessibility & contrast

On white

6.10
#873EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#873EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EBC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EBC#FFFFFF#000000##FFFFFF
##873EBC1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#2263B9
Tritanopia (blue-blind)
#7F5978
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873ebc;
/* rgb */ color: rgb(135, 62, 188);
/* oklch */ color: oklch(52.0% 0.192 307.6);
Tailwind
colors: {
  custom: {
    50: '#ae78d1',
    500: '#873ebc',
    950: '#000000',
  },
}
SCSS
$custom: #873ebc;
$custom-light: #ae78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#873ebc",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 274.762,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.19231,
    "h": 307.6
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#873EBC
secondary
#A6C98D
accent
#DA4E89
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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