#873BC3#873BC3

#873BC3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.203 H 306.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#873BC3
RGBrgb(135, 59, 195)
HSLhsl(274, 54%, 50%)
HSVhsv(274, 70%, 76%)
CMYKcmyk(30.8%, 69.7%, 0%, 23.5%)
CIE-LABlab(41.56, 56.08, -57.93)
CIE-LCHlch(41.56, 80.63, 314.07°)
OKLaboklab(52.1% 0.1197 -0.1645)
OKLCHoklch(52.1% 0.203 306)
XYZxyz(21.4038, 12.2191, 52.8501)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873BC3 #77C33B
analogous
#433BC3 #873BC3 #C33BBB
triadic
#873BC3 #C3873B #3BC387
tetradic
#873BC3 #C3433B #77C33B #3BBBC3
square
#873BC3 #C3433B #77C33B #3BBBC3
split-complementary
#873BC3 #BBC33B #3BC343
monochromatic
#461F65 #662D94 #873BC3 #A469D2 #C098E0

Accessibility & contrast

On white

6.10
#873BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#873BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873BC3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873BC3#FFFFFF#000000##FFFFFF
##873BC31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0762C0
Tritanopia (blue-blind)
#7C5A7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #873bc3;
/* rgb */ color: rgb(135, 59, 195);
/* oklch */ color: oklch(52.1% 0.203 306.0);
Tailwind
colors: {
  custom: {
    50: '#af77d6',
    500: '#873bc3',
    950: '#000000',
  },
}
SCSS
$custom: #873bc3;
$custom-light: #af77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#873bc3",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 273.529,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.20341,
    "h": 306
  },
  "luminance": 0.12219
}

Semantic roles & 50–950 ramp

primary
#873BC3
secondary
#A9CC8E
accent
#DD4B8B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #873BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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