#873EDF#873EDF

#873EDF is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.229 H 299.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#873EDF
RGBrgb(135, 62, 223)
HSLhsl(267, 72%, 56%)
HSVhsv(267, 72%, 87%)
CMYKcmyk(39.5%, 72.2%, 0%, 12.5%)
CIE-LABlab(44.12, 61.34, -69.91)
CIE-LCHlch(44.12, 93.00, 311.26°)
OKLaboklab(54.57% 0.1119 -0.1997)
OKLCHoklch(54.57% 0.229 299.3)
XYZxyz(25.0302, 13.9235, 71.1665)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873EDF #96DF3E
analogous
#3E45DF #873EDF #D83EDF
triadic
#873EDF #DF873E #3EDF87
tetradic
#873EDF #DF3E45 #96DF3E #3EDFD8
square
#873EDF #DF3E45 #96DF3E #3EDFD8
split-complementary
#873EDF #DFD83E #45DF3E
monochromatic
#4C178B #6820C0 #873EDF #A872E8 #C8A7F0

Accessibility & contrast

On white

5.55
#873EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#873EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873EDF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873EDF#FFFFFF#000000##FFFFFF
##873EDF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#72678B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #873edf;
/* rgb */ color: rgb(135, 62, 223);
/* oklch */ color: oklch(54.6% 0.229 299.3);
Tailwind
colors: {
  custom: {
    50: '#b17aea',
    500: '#873edf',
    950: '#000000',
  },
}
SCSS
$custom: #873edf;
$custom-light: #b17aea;
$custom-dark: #000000;
JSON
{
  "hex": "#873edf",
  "rgb": {
    "r": 135,
    "g": 62,
    "b": 223
  },
  "hsl": {
    "h": 267.205,
    "s": 71.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.2289,
    "h": 299.3
  },
  "luminance": 0.13924
}

Semantic roles & 50–950 ramp

primary
#873EDF
secondary
#C0DE9B
accent
#EE3A9C
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #873EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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