#873FBF#873FBF

#873FBF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.194 H 306.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#873FBF
RGBrgb(135, 63, 191)
HSLhsl(274, 50%, 50%)
HSVhsv(274, 67%, 75%)
CMYKcmyk(29.3%, 67%, 0%, 25.1%)
CIE-LABlab(41.95, 53.31, -54.97)
CIE-LCHlch(41.95, 76.57, 314.12°)
OKLaboklab(52.29% 0.1159 -0.1558)
OKLCHoklch(52.29% 0.194 306.6)
XYZxyz(21.1711, 12.4677, 50.5713)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FBF #77BF3F
analogous
#473FBF #873FBF #BF3FB7
triadic
#873FBF #BF873F #3FBF87
tetradic
#873FBF #BF473F #77BF3F #3FB7BF
square
#873FBF #BF473F #77BF3F #3FB7BF
split-complementary
#873FBF #B7BF3F #3FBF47
monochromatic
#462163 #663091 #873FBF #A46DCF #C09BDE

Accessibility & contrast

On white

6.01
#873FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#873FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FBF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FBF#FFFFFF#000000##FFFFFF
##873FBF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#7E5B7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873fbf;
/* rgb */ color: rgb(135, 63, 191);
/* oklch */ color: oklch(52.3% 0.194 306.6);
Tailwind
colors: {
  custom: {
    50: '#ae79d3',
    500: '#873fbf',
    950: '#000000',
  },
}
SCSS
$custom: #873fbf;
$custom-light: #ae79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#873fbf",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 273.75,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.19416,
    "h": 306.6
  },
  "luminance": 0.12467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #873FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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