#873ACB#873ACB

#873ACB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.213 H 304.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#873ACB
RGBrgb(135, 58, 203)
HSLhsl(272, 58%, 51%)
HSVhsv(272, 71%, 80%)
CMYKcmyk(33.5%, 71.4%, 0%, 20.4%)
CIE-LABlab(41.98, 58.37, -61.90)
CIE-LCHlch(41.98, 85.08, 313.32°)
OKLaboklab(52.59% 0.1195 -0.1761)
OKLCHoklch(52.59% 0.213 304.1)
XYZxyz(22.2818, 12.4889, 57.7251)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873ACB #7ECB3A
analogous
#3E3ACB #873ACB #CB3AC6
triadic
#873ACB #CB873A #3ACB87
tetradic
#873ACB #CB3E3A #7ECB3A #3AC6CB
square
#873ACB #CB3E3A #7ECB3A #3AC6CB
split-complementary
#873ACB #C6CB3A #3ACB3E
monochromatic
#481D6E #682A9E #873ACB #A46AD8 #C29BE5

Accessibility & contrast

On white

6.00
#873ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#873ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873ACB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873ACB#FFFFFF#000000##FFFFFF
##873ACB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#7A5D7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873acb;
/* rgb */ color: rgb(135, 58, 203);
/* oklch */ color: oklch(52.6% 0.213 304.1);
Tailwind
colors: {
  custom: {
    50: '#af77dc',
    500: '#873acb',
    950: '#000000',
  },
}
SCSS
$custom: #873acb;
$custom-light: #af77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#873acb",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 271.862,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.21281,
    "h": 304.1
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #873ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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