#873ECF#873ECF

#873ECF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.212 H 302.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#873ECF
RGBrgb(135, 62, 207)
HSLhsl(270, 60%, 53%)
HSVhsv(270, 70%, 81%)
CMYKcmyk(34.8%, 70%, 0%, 18.8%)
CIE-LABlab(42.92, 57.52, -62.70)
CIE-LCHlch(42.92, 85.08, 312.53°)
OKLaboklab(53.34% 0.1148 -0.1785)
OKLCHoklch(53.34% 0.212 302.8)
XYZxyz(22.9741, 13.1011, 60.3378)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873ECF #86CF3E
analogous
#3E3ECF #873ECF #CF3ECE
triadic
#873ECF #CF873E #3ECF87
tetradic
#873ECF #CF3E3E #86CF3E #3ECECF
square
#873ECF #CF3E3E #86CF3E #3ECECF
split-complementary
#873ECF #CECF3E #3ECF3E
monochromatic
#4A1D75 #6829A6 #873ECF #A56FDB #C4A0E7

Accessibility & contrast

On white

5.80
#873ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#873ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873ECF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873ECF#FFFFFF#000000##FFFFFF
##873ECF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#786082
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #873ecf;
/* rgb */ color: rgb(135, 62, 207);
/* oklch */ color: oklch(53.3% 0.212 302.8);
Tailwind
colors: {
  custom: {
    50: '#b079df',
    500: '#873ecf',
    950: '#000000',
  },
}
SCSS
$custom: #873ecf;
$custom-light: #b079df;
$custom-dark: #000000;
JSON
{
  "hex": "#873ecf",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 270.207,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5334,
    "c": 0.21224,
    "h": 302.8
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#873ECF
secondary
#B4D495
accent
#E34493
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #873ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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