#873ADB#873ADB

#873ADB is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.229 H 300.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#873ADB
RGBrgb(135, 58, 219)
HSLhsl(269, 69%, 54%)
HSVhsv(269, 74%, 86%)
CMYKcmyk(38.4%, 73.5%, 0%, 14.1%)
CIE-LABlab(43.20, 62.12, -69.13)
CIE-LCHlch(43.20, 92.94, 311.94°)
OKLaboklab(53.83% 0.1163 -0.1974)
OKLCHoklch(53.83% 0.229 300.5)
XYZxyz(24.2878, 13.2913, 68.2900)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873ADB #8EDB3A
analogous
#3A3DDB #873ADB #D83ADB
triadic
#873ADB #DB873A #3ADB87
tetradic
#873ADB #DB3A3D #8EDB3A #3ADBD8
square
#873ADB #DB3A3D #8EDB3A #3ADBD8
split-complementary
#873ADB #DBD83A #3DDB3A
monochromatic
#4B1883 #6921B6 #873ADB #A76EE4 #C6A1EE

Accessibility & contrast

On white

5.74
#873ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#873ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873ADB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873ADB#FFFFFF#000000##FFFFFF
##873ADB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#746388
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873adb;
/* rgb */ color: rgb(135, 58, 219);
/* oklch */ color: oklch(53.8% 0.229 300.5);
Tailwind
colors: {
  custom: {
    50: '#b177e7',
    500: '#873adb',
    950: '#000000',
  },
}
SCSS
$custom: #873adb;
$custom-light: #b177e7;
$custom-dark: #000000;
JSON
{
  "hex": "#873adb",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 219
  },
  "hsl": {
    "h": 268.696,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53825,
    "c": 0.2291,
    "h": 300.5
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#873ADB
secondary
#BADB96
accent
#EC3C98
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #873ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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