#873BDE#873BDE

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

Color values

HEX#873BDE
RGBrgb(135, 59, 222)
HSLhsl(268, 71%, 55%)
HSVhsv(268, 73%, 87%)
CMYKcmyk(39.2%, 73.4%, 0%, 12.9%)
CIE-LABlab(43.58, 62.40, -70.22)
CIE-LCHlch(43.58, 93.94, 311.63°)
OKLaboklab(54.17% 0.1148 -0.2006)
OKLCHoklch(54.17% 0.231 299.8)
XYZxyz(24.7372, 13.5525, 70.4057)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BDE #92DE3B
analogous
#3B41DE #873BDE #D83BDE
triadic
#873BDE #DE873B #3BDE87
tetradic
#873BDE #DE3B41 #92DE3B #3BDED8
square
#873BDE #DE3B41 #92DE3B #3BDED8
split-complementary
#873BDE #DED83B #41DE3B
monochromatic
#4B1788 #6920BC #873BDE #A76FE7 #C7A4F0

Accessibility & contrast

On white

5.66
#873BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#873BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BDE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BDE#FFFFFF#000000##FFFFFF
##873BDE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#73658A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #873bde;
/* rgb */ color: rgb(135, 59, 222);
/* oklch */ color: oklch(54.2% 0.231 299.8);
Tailwind
colors: {
  custom: {
    50: '#b178e9',
    500: '#873bde',
    950: '#000000',
  },
}
SCSS
$custom: #873bde;
$custom-light: #b178e9;
$custom-dark: #000000;
JSON
{
  "hex": "#873bde",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 222
  },
  "hsl": {
    "h": 267.975,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.2311,
    "h": 299.8
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#873BDE
secondary
#BDDD98
accent
#EE3A9A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #873BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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