#873FBD#873FBD

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

Color values

HEX#873FBD
RGBrgb(135, 63, 189)
HSLhsl(274, 50%, 49%)
HSVhsv(274, 67%, 74%)
CMYKcmyk(28.6%, 66.7%, 0%, 25.9%)
CIE-LABlab(41.81, 52.84, -54.02)
CIE-LCHlch(41.81, 75.57, 314.37°)
OKLaboklab(52.15% 0.1161 -0.153)
OKLCHoklch(52.15% 0.192 307.2)
XYZxyz(20.9526, 12.3803, 49.4201)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FBD #75BD3F
analogous
#483FBD #873FBD #BD3FB4
triadic
#873FBD #BD873F #3FBD87
tetradic
#873FBD #BD483F #75BD3F #3FB4BD
square
#873FBD #BD483F #75BD3F #3FB4BD
split-complementary
#873FBD #B4BD3F #3FBD48
monochromatic
#452061 #66308F #873FBD #A46BCE #C099DD

Accessibility & contrast

On white

6.04
#873FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #873FBD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FBD#FFFFFF#000000##FFFFFF
##873FBD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#7E5A79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #873fbd;
/* rgb */ color: rgb(135, 63, 189);
/* oklch */ color: oklch(52.2% 0.192 307.2);
Tailwind
colors: {
  custom: {
    50: '#ae79d2',
    500: '#873fbd',
    950: '#000000',
  },
}
SCSS
$custom: #873fbd;
$custom-light: #ae79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#873fbd",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 274.286,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.19204,
    "h": 307.2
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#873FBD
secondary
#A8C98F
accent
#DA4E8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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