#873CDD#873CDD

#873CDD is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.229 H 299.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#873CDD
RGBrgb(135, 60, 221)
HSLhsl(268, 70%, 55%)
HSVhsv(268, 73%, 87%)
CMYKcmyk(38.9%, 72.9%, 0%, 13.3%)
CIE-LABlab(43.66, 61.73, -69.52)
CIE-LCHlch(43.66, 92.98, 311.60°)
OKLaboklab(54.2% 0.1141 -0.1985)
OKLCHoklch(54.2% 0.229 299.9)
XYZxyz(24.6554, 13.6028, 69.7192)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CDD #92DD3C
analogous
#3C42DD #873CDD #D73CDD
triadic
#873CDD #DD873C #3CDD87
tetradic
#873CDD #DD3C42 #92DD3C #3CDDD7
square
#873CDD #DD3C42 #92DD3C #3CDDD7
split-complementary
#873CDD #DDD73C #42DD3C
monochromatic
#4B1887 #6921BB #873CDD #A770E6 #C7A4EF

Accessibility & contrast

On white

5.64
#873CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#873CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CDD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CDD#FFFFFF#000000##FFFFFF
##873CDD1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#736589
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #873cdd;
/* rgb */ color: rgb(135, 60, 221);
/* oklch */ color: oklch(54.2% 0.229 299.9);
Tailwind
colors: {
  custom: {
    50: '#b179e9',
    500: '#873cdd',
    950: '#000000',
  },
}
SCSS
$custom: #873cdd;
$custom-light: #b179e9;
$custom-dark: #000000;
JSON
{
  "hex": "#873cdd",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 221
  },
  "hsl": {
    "h": 267.95,
    "s": 70.306,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.229,
    "h": 299.9
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

primary
#873CDD
secondary
#BDDC99
accent
#ED3B9A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #873CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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