#873DBF#873DBF

#873DBF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.0% C 0.197 H 306.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#873DBF
RGBrgb(135, 61, 191)
HSLhsl(274, 52%, 49%)
HSVhsv(274, 68%, 75%)
CMYKcmyk(29.3%, 68.1%, 0%, 25.1%)
CIE-LABlab(41.61, 54.25, -55.52)
CIE-LCHlch(41.61, 77.62, 314.34°)
OKLaboklab(52.05% 0.1181 -0.1574)
OKLCHoklch(52.05% 0.197 306.9)
XYZxyz(21.0624, 12.2502, 50.5351)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DBF #75BF3D
analogous
#463DBF #873DBF #BF3DB6
triadic
#873DBF #BF873D #3DBF87
tetradic
#873DBF #BF463D #75BF3D #3DB6BF
square
#873DBF #BF463D #75BF3D #3DB6BF
split-complementary
#873DBF #B6BF3D #3DBF46
monochromatic
#451F62 #662E91 #873DBF #A46ACF #C098DE

Accessibility & contrast

On white

6.09
#873DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#873DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DBF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DBF#FFFFFF#000000##FFFFFF
##873DBF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#1A63BC
Tritanopia (blue-blind)
#7E5A79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873dbf;
/* rgb */ color: rgb(135, 61, 191);
/* oklch */ color: oklch(52.0% 0.197 306.9);
Tailwind
colors: {
  custom: {
    50: '#ae78d3',
    500: '#873dbf',
    950: '#000000',
  },
}
SCSS
$custom: #873dbf;
$custom-light: #ae78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#873dbf",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 274.154,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.19675,
    "h": 306.9
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#873DBF
secondary
#A8CA8E
accent
#DB4D8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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