#873EBB#873EBB

#873EBB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.191 H 307.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#873EBB
RGBrgb(135, 62, 187)
HSLhsl(275, 50%, 49%)
HSVhsv(275, 67%, 73%)
CMYKcmyk(27.8%, 66.8%, 0%, 26.7%)
CIE-LABlab(41.51, 52.86, -53.34)
CIE-LCHlch(41.51, 75.10, 314.74°)
OKLaboklab(51.89% 0.1174 -0.151)
OKLCHoklch(51.89% 0.191 307.9)
XYZxyz(20.6821, 12.1843, 48.2663)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EBB #72BB3E
analogous
#493EBB #873EBB #BB3EB1
triadic
#873EBB #BB873E #3EBB87
tetradic
#873EBB #BB493E #72BB3E #3EB1BB
square
#873EBB #BB493E #72BB3E #3EB1BB
split-complementary
#873EBB #B1BB3E #3EBB49
monochromatic
#45205F #662F8D #873EBB #A469CD #C097DC

Accessibility & contrast

On white

6.11
#873EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#873EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EBB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EBB#FFFFFF#000000##FFFFFF
##873EBB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#2363B8
Tritanopia (blue-blind)
#7F5977
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873ebb;
/* rgb */ color: rgb(135, 62, 187);
/* oklch */ color: oklch(51.9% 0.191 307.9);
Tailwind
colors: {
  custom: {
    50: '#ae78d0',
    500: '#873ebb',
    950: '#000000',
  },
}
SCSS
$custom: #873ebb;
$custom-light: #ae78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#873ebb",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 275.04,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.19126,
    "h": 307.9
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#873EBB
secondary
#A5C88D
accent
#DA4E88
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #873EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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