#873EDD#873EDD

#873EDD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.227 H 299.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#873EDD
RGBrgb(135, 62, 221)
HSLhsl(268, 70%, 55%)
HSVhsv(268, 72%, 87%)
CMYKcmyk(38.9%, 71.9%, 0%, 13.3%)
CIE-LABlab(43.97, 60.86, -69.02)
CIE-LCHlch(43.97, 92.02, 311.40°)
OKLaboklab(54.42% 0.1123 -0.1971)
OKLCHoklch(54.42% 0.227 299.7)
XYZxyz(24.7622, 13.8163, 69.7548)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EDD #94DD3E
analogous
#3E44DD #873EDD #D63EDD
triadic
#873EDD #DD873E #3EDD87
tetradic
#873EDD #DD3E44 #94DD3E #3EDDD6
square
#873EDD #DD3E44 #94DD3E #3EDDD6
split-complementary
#873EDD #DDD63E #44DD3E
monochromatic
#4C1889 #6921BD #873EDD #A772E6 #C8A6EF

Accessibility & contrast

On white

5.58
#873EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#873EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EDD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EDD#FFFFFF#000000##FFFFFF
##873EDD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#73668A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #873edd;
/* rgb */ color: rgb(135, 62, 221);
/* oklch */ color: oklch(54.4% 0.227 299.7);
Tailwind
colors: {
  custom: {
    50: '#b17ae9',
    500: '#873edd',
    950: '#000000',
  },
}
SCSS
$custom: #873edd;
$custom-light: #b17ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#873edd",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 221
  },
  "hsl": {
    "h": 267.547,
    "s": 70.044,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.22683,
    "h": 299.7
  },
  "luminance": 0.13817
}

Semantic roles & 50–950 ramp

primary
#873EDD
secondary
#BEDD9A
accent
#ED3B9B
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #873EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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