#873ACA#873ACA

#873ACA is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.212 H 304.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#873ACA
RGBrgb(135, 58, 202)
HSLhsl(272, 58%, 51%)
HSVhsv(272, 71%, 79%)
CMYKcmyk(33.2%, 71.3%, 0%, 20.8%)
CIE-LABlab(41.91, 58.14, -61.44)
CIE-LCHlch(41.91, 84.59, 313.42°)
OKLaboklab(52.51% 0.1196 -0.1748)
OKLCHoklch(52.51% 0.212 304.4)
XYZxyz(22.1630, 12.4414, 57.0995)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873ACA #7DCA3A
analogous
#3F3ACA #873ACA #CA3AC5
triadic
#873ACA #CA873A #3ACA87
tetradic
#873ACA #CA3F3A #7DCA3A #3AC5CA
square
#873ACA #CA3F3A #7DCA3A #3AC5CA
split-complementary
#873ACA #C5CA3A #3ACA3F
monochromatic
#481D6C #672A9D #873ACA #A46AD7 #C29AE4

Accessibility & contrast

On white

6.02
#873ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#873ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873ACA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873ACA#FFFFFF#000000##FFFFFF
##873ACA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#7A5C7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873aca;
/* rgb */ color: rgb(135, 58, 202);
/* oklch */ color: oklch(52.5% 0.212 304.4);
Tailwind
colors: {
  custom: {
    50: '#af77db',
    500: '#873aca',
    950: '#000000',
  },
}
SCSS
$custom: #873aca;
$custom-light: #af77db;
$custom-dark: #000000;
JSON
{
  "hex": "#873aca",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 272.083,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.21179,
    "h": 304.4
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#873ACA
secondary
#AED090
accent
#E1478F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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