#873DD3#873DD3

#873DD3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.218 H 302.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#873DD3
RGBrgb(135, 61, 211)
HSLhsl(270, 63%, 53%)
HSVhsv(270, 71%, 83%)
CMYKcmyk(36%, 71.1%, 0%, 17.3%)
CIE-LABlab(43.05, 58.92, -64.78)
CIE-LCHlch(43.05, 87.57, 312.28°)
OKLaboklab(53.53% 0.1151 -0.1846)
OKLCHoklch(53.53% 0.218 302)
XYZxyz(23.4155, 13.1914, 62.9280)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DD3 #89D33D
analogous
#3D3ED3 #873DD3 #D23DD3
triadic
#873DD3 #D3873D #3DD387
tetradic
#873DD3 #D33D3E #89D33D #3DD3D2
square
#873DD3 #D33D3E #89D33D #3DD3D2
split-complementary
#873DD3 #D3D23D #3ED33D
monochromatic
#4A1C7A #6927AC #873DD3 #A66FDE #C5A1EA

Accessibility & contrast

On white

5.77
#873DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#873DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DD3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DD3#FFFFFF#000000##FFFFFF
##873DD31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#776184
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #873dd3;
/* rgb */ color: rgb(135, 61, 211);
/* oklch */ color: oklch(53.5% 0.218 302.0);
Tailwind
colors: {
  custom: {
    50: '#b079e1',
    500: '#873dd3',
    950: '#000000',
  },
}
SCSS
$custom: #873dd3;
$custom-light: #b079e1;
$custom-dark: #000000;
JSON
{
  "hex": "#873dd3",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 269.6,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.21757,
    "h": 302
  },
  "luminance": 0.13192
}

Semantic roles & 50–950 ramp

primary
#873DD3
secondary
#B6D696
accent
#E64295
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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