#873DBB#873DBB

#873DBB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.193 H 308.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#873DBB
RGBrgb(135, 61, 187)
HSLhsl(275, 51%, 49%)
HSVhsv(275, 67%, 73%)
CMYKcmyk(27.8%, 67.4%, 0%, 26.7%)
CIE-LABlab(41.34, 53.33, -53.62)
CIE-LCHlch(41.34, 75.63, 314.85°)
OKLaboklab(51.77% 0.1185 -0.1518)
OKLCHoklch(51.77% 0.193 308)
XYZxyz(20.6282, 12.0765, 48.2484)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DBB #71BB3D
analogous
#483DBB #873DBB #BB3DB0
triadic
#873DBB #BB873D #3DBB87
tetradic
#873DBB #BB483D #71BB3D #3DB0BB
square
#873DBB #BB483D #71BB3D #3DB0BB
split-complementary
#873DBB #B0BB3D #3DBB48
monochromatic
#441F5F #662E8D #873DBB #A468CE #BF96DD

Accessibility & contrast

On white

6.15
#873DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#873DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DBB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DBB#FFFFFF#000000##FFFFFF
##873DBB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#7F5877
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #873dbb;
/* rgb */ color: rgb(135, 61, 187);
/* oklch */ color: oklch(51.8% 0.193 308.0);
Tailwind
colors: {
  custom: {
    50: '#ae78d0',
    500: '#873dbb',
    950: '#000000',
  },
}
SCSS
$custom: #873dbb;
$custom-light: #ae78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#873dbb",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 275.238,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.19258,
    "h": 308
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #873DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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