#873FBE#873FBE

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

Color values

HEX#873FBE
RGBrgb(135, 63, 190)
HSLhsl(274, 50%, 50%)
HSVhsv(274, 67%, 75%)
CMYKcmyk(28.9%, 66.8%, 0%, 25.5%)
CIE-LABlab(41.88, 53.07, -54.50)
CIE-LCHlch(41.88, 76.07, 314.24°)
OKLaboklab(52.22% 0.116 -0.1544)
OKLCHoklch(52.22% 0.193 306.9)
XYZxyz(21.0615, 12.4239, 49.9937)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FBE #76BE3F
analogous
#483FBE #873FBE #BE3FB6
triadic
#873FBE #BE873F #3FBE87
tetradic
#873FBE #BE483F #76BE3F #3FB6BE
square
#873FBE #BE483F #76BE3F #3FB6BE
split-complementary
#873FBE #B6BE3F #3FBE48
monochromatic
#462162 #663090 #873FBE #A46CCE #C09ADD

Accessibility & contrast

On white

6.03
#873FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#873FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FBE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FBE#FFFFFF#000000##FFFFFF
##873FBE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#2063BB
Tritanopia (blue-blind)
#7E5A79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873fbe;
/* rgb */ color: rgb(135, 63, 190);
/* oklch */ color: oklch(52.2% 0.193 306.9);
Tailwind
colors: {
  custom: {
    50: '#ae79d2',
    500: '#873fbe',
    950: '#000000',
  },
}
SCSS
$custom: #873fbe;
$custom-light: #ae79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873fbe",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 274.016,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.19311,
    "h": 306.9
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#873FBE
secondary
#A9C98F
accent
#DA4E8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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