#873DDB#873DDB

#873DDB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.226 H 300.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#873DDB
RGBrgb(135, 61, 219)
HSLhsl(268, 69%, 55%)
HSVhsv(268, 72%, 86%)
CMYKcmyk(38.4%, 72.1%, 0%, 14.1%)
CIE-LABlab(43.66, 60.82, -68.38)
CIE-LCHlch(43.66, 91.52, 311.65°)
OKLaboklab(54.15% 0.1136 -0.1952)
OKLCHoklch(54.15% 0.226 300.2)
XYZxyz(24.4434, 13.6026, 68.3419)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DDB #91DB3D
analogous
#3D42DB #873DDB #D63DDB
triadic
#873DDB #DB873D #3DDB87
tetradic
#873DDB #DB3D42 #91DB3D #3DDBD6
square
#873DDB #DB3D42 #91DB3D #3DDBD6
split-complementary
#873DDB #DBD63D #42DB3D
monochromatic
#4B1985 #6922B9 #873DDB #A771E5 #C7A4EE

Accessibility & contrast

On white

5.64
#873DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#873DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DDB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DDB#FFFFFF#000000##FFFFFF
##873DDB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#746589
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #873ddb;
/* rgb */ color: rgb(135, 61, 219);
/* oklch */ color: oklch(54.1% 0.226 300.2);
Tailwind
colors: {
  custom: {
    50: '#b179e7',
    500: '#873ddb',
    950: '#000000',
  },
}
SCSS
$custom: #873ddb;
$custom-light: #b179e7;
$custom-dark: #000000;
JSON
{
  "hex": "#873ddb",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 219
  },
  "hsl": {
    "h": 268.101,
    "s": 68.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.22586,
    "h": 300.2
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

primary
#873DDB
secondary
#BCDB99
accent
#EC3C99
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #873DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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