#7873CC#7873CC

#7873CC is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.133 H 284.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7873CC
RGBrgb(120, 115, 204)
HSLhsl(243, 47%, 63%)
HSVhsv(243, 44%, 80%)
CMYKcmyk(41.2%, 43.6%, 0%, 20%)
CIE-LABlab(52.52, 24.02, -45.63)
CIE-LCHlch(52.52, 51.57, 297.77°)
OKLaboklab(60.01% 0.0326 -0.1288)
OKLCHoklch(60.01% 0.133 284.2)
XYZxyz(24.7724, 20.6132, 59.7885)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873CC #C7CC73
analogous
#739ACC #7873CC #A573CC
triadic
#7873CC #CC7873 #73CC78
tetradic
#7873CC #CC739A #C7CC73 #73CCA5
square
#7873CC #CC739A #C7CC73 #73CCA5
split-complementary
#7873CC #CCA573 #9ACC73
monochromatic
#3A3490 #4D46BC #7873CC #A3A0DC #CFCDED

Accessibility & contrast

On white

4.10
#7873CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7873CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873CC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873CC#FFFFFF#000000##000000
##7873CC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#4F7BCA
Tritanopia (blue-blind)
#5F8596
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7873cc;
/* rgb */ color: rgb(120, 115, 204);
/* oklch */ color: oklch(60.0% 0.133 284.2);
Tailwind
colors: {
  custom: {
    50: '#a39bdc',
    500: '#7873cc',
    950: '#000000',
  },
}
SCSS
$custom: #7873cc;
$custom-light: #a39bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7873cc",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 243.371,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60012,
    "c": 0.13291,
    "h": 284.2
  },
  "luminance": 0.20614
}

Semantic roles & 50–950 ramp

primary
#7873CC
secondary
#DCDEBD
accent
#BA2CB2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7873CC

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

Preview Lab → · Contrast checker → · Palette generator →

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