#873EBF#873EBF

#873EBF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.195 H 306.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#873EBF
RGBrgb(135, 62, 191)
HSLhsl(274, 51%, 50%)
HSVhsv(274, 68%, 75%)
CMYKcmyk(29.3%, 67.5%, 0%, 25.1%)
CIE-LABlab(41.78, 53.78, -55.25)
CIE-LCHlch(41.78, 77.10, 314.23°)
OKLaboklab(52.17% 0.117 -0.1566)
OKLCHoklch(52.17% 0.195 306.8)
XYZxyz(21.1163, 12.3580, 50.5530)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EBF #76BF3E
analogous
#463EBF #873EBF #BF3EB7
triadic
#873EBF #BF873E #3EBF87
tetradic
#873EBF #BF463E #76BF3E #3EB7BF
square
#873EBF #BF463E #76BF3E #3EB7BF
split-complementary
#873EBF #B7BF3E #3EBF46
monochromatic
#462063 #662F91 #873EBF #A46BCF #C099DE

Accessibility & contrast

On white

6.05
#873EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#873EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EBF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EBF#FFFFFF#000000##FFFFFF
##873EBF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #873ebf;
/* rgb */ color: rgb(135, 62, 191);
/* oklch */ color: oklch(52.2% 0.195 306.8);
Tailwind
colors: {
  custom: {
    50: '#ae78d3',
    500: '#873ebf',
    950: '#000000',
  },
}
SCSS
$custom: #873ebf;
$custom-light: #ae78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#873ebf",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 273.953,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.19547,
    "h": 306.8
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#873EBF
secondary
#A9CA8F
accent
#DA4D8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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