#873FE0#873FE0

#873FE0 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.229 H 299.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#873FE0
RGBrgb(135, 63, 224)
HSLhsl(267, 72%, 56%)
HSVhsv(267, 72%, 88%)
CMYKcmyk(39.7%, 71.9%, 0%, 12.2%)
CIE-LABlab(44.36, 61.13, -70.09)
CIE-LCHlch(44.36, 93.01, 311.09°)
OKLaboklab(54.77% 0.1108 -0.2002)
OKLCHoklch(54.77% 0.229 299)
XYZxyz(25.2203, 14.0874, 71.8970)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873FE0 #98E03F
analogous
#3F48E0 #873FE0 #D73FE0
triadic
#873FE0 #E0873F #3FE087
tetradic
#873FE0 #E03F48 #98E03F #3FE0D7
square
#873FE0 #E03F48 #98E03F #3FE0D7
split-complementary
#873FE0 #E0D73F #48E03F
monochromatic
#4C178E #681FC2 #873FE0 #A874E9 #C9A8F1

Accessibility & contrast

On white

5.50
#873FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#873FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873FE0
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873FE0#FFFFFF#000000##FFFFFF
##873FE01.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#72688C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #873fe0;
/* rgb */ color: rgb(135, 63, 224);
/* oklch */ color: oklch(54.8% 0.229 299.0);
Tailwind
colors: {
  custom: {
    50: '#b17aeb',
    500: '#873fe0',
    950: '#000000',
  },
}
SCSS
$custom: #873fe0;
$custom-light: #b17aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#873fe0",
  "rgb": {
    "r": 135,
    "g": 63,
    "b": 224
  },
  "hsl": {
    "h": 266.832,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.22884,
    "h": 299
  },
  "luminance": 0.14088
}

Semantic roles & 50–950 ramp

primary
#873FE0
secondary
#C1DF9C
accent
#EF399E
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #873FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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