#873EBE#873EBE

#873EBE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.194 H 307.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#873EBE
RGBrgb(135, 62, 190)
HSLhsl(274, 51%, 49%)
HSVhsv(274, 67%, 75%)
CMYKcmyk(28.9%, 67.4%, 0%, 25.5%)
CIE-LABlab(41.71, 53.55, -54.77)
CIE-LCHlch(41.71, 76.60, 314.35°)
OKLaboklab(52.1% 0.1171 -0.1552)
OKLCHoklch(52.1% 0.194 307)
XYZxyz(21.0066, 12.3141, 49.9754)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EBE #75BE3E
analogous
#473EBE #873EBE #BE3EB5
triadic
#873EBE #BE873E #3EBE87
tetradic
#873EBE #BE473E #75BE3E #3EB5BE
square
#873EBE #BE473E #75BE3E #3EB5BE
split-complementary
#873EBE #B5BE3E #3EBE47
monochromatic
#452062 #662F90 #873EBE #A46BCF #C099DE

Accessibility & contrast

On white

6.06
#873EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#873EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EBE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EBE#FFFFFF#000000##FFFFFF
##873EBE1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#1E63BB
Tritanopia (blue-blind)
#7E5A79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873ebe;
/* rgb */ color: rgb(135, 62, 190);
/* oklch */ color: oklch(52.1% 0.194 307.0);
Tailwind
colors: {
  custom: {
    50: '#ae78d2',
    500: '#873ebe',
    950: '#000000',
  },
}
SCSS
$custom: #873ebe;
$custom-light: #ae78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873ebe",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 274.219,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.521,
    "c": 0.19442,
    "h": 307
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#873EBE
secondary
#A8C98E
accent
#DA4E8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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