#7873DC#7873DC

#7873DC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.0% C 0.155 H 282.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7873DC
RGBrgb(120, 115, 220)
HSLhsl(243, 60%, 66%)
HSVhsv(243, 48%, 86%)
CMYKcmyk(45.5%, 47.7%, 0%, 13.7%)
CIE-LABlab(53.41, 28.67, -53.29)
CIE-LCHlch(53.41, 60.51, 298.28°)
OKLaboklab(60.97% 0.0347 -0.1513)
OKLCHoklch(60.97% 0.155 282.9)
XYZxyz(26.7909, 21.4206, 70.4192)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873DC #D7DC73
analogous
#73A2DC #7873DC #AC73DC
triadic
#7873DC #DC7873 #73DC78
tetradic
#7873DC #DC73A2 #D7DC73 #73DCAC
square
#7873DC #DC73A2 #D7DC73 #73DCAC
split-complementary
#7873DC #DCAC73 #A2DC73
monochromatic
#312BAA #4942D0 #7873DC #A7A4E8 #D6D5F4

Accessibility & contrast

On white

3.97
#7873DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7873DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873DC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873DC#FFFFFF#000000##000000
##7873DC1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#57899D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7873dc;
/* rgb */ color: rgb(120, 115, 220);
/* oklch */ color: oklch(61.0% 0.155 282.9);
Tailwind
colors: {
  custom: {
    50: '#a49be7',
    500: '#7873dc',
    950: '#000000',
  },
}
SCSS
$custom: #7873dc;
$custom-light: #a49be7;
$custom-dark: #000000;
JSON
{
  "hex": "#7873dc",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 242.857,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.15522,
    "h": 282.9
  },
  "luminance": 0.21422
}

Semantic roles & 50–950 ramp

primary
#7873DC
secondary
#E5E7C4
accent
#C81EC0
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7873DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7873DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva