#873DDD#873DDD

#873DDD is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.228 H 299.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#873DDD
RGBrgb(135, 61, 221)
HSLhsl(268, 70%, 55%)
HSVhsv(268, 72%, 87%)
CMYKcmyk(38.9%, 72.4%, 0%, 13.3%)
CIE-LABlab(43.81, 61.30, -69.27)
CIE-LCHlch(43.81, 92.50, 311.50°)
OKLaboklab(54.31% 0.1132 -0.1978)
OKLCHoklch(54.31% 0.228 299.8)
XYZxyz(24.7083, 13.7086, 69.7369)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873DDD #93DD3D
analogous
#3D43DD #873DDD #D73DDD
triadic
#873DDD #DD873D #3DDD87
tetradic
#873DDD #DD3D43 #93DD3D #3DDDD7
square
#873DDD #DD3D43 #93DD3D #3DDDD7
split-complementary
#873DDD #DDD73D #43DD3D
monochromatic
#4C1888 #6921BC #873DDD #A771E6 #C7A5EF

Accessibility & contrast

On white

5.61
#873DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#873DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873DDD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873DDD#FFFFFF#000000##FFFFFF
##873DDD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#73658A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #873ddd;
/* rgb */ color: rgb(135, 61, 221);
/* oklch */ color: oklch(54.3% 0.228 299.8);
Tailwind
colors: {
  custom: {
    50: '#b179e9',
    500: '#873ddd',
    950: '#000000',
  },
}
SCSS
$custom: #873ddd;
$custom-light: #b179e9;
$custom-dark: #000000;
JSON
{
  "hex": "#873ddd",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 221
  },
  "hsl": {
    "h": 267.75,
    "s": 70.175,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54306,
    "c": 0.22792,
    "h": 299.8
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#873DDD
secondary
#BDDC99
accent
#ED3B9B
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #873DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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