#7873BC#7873BC

#7873BC is a mid, moderate blue. Relative luminance 0.199; OKLCH L 59.1% C 0.110 H 285.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7873BC
RGBrgb(120, 115, 188)
HSLhsl(244, 35%, 59%)
HSVhsv(244, 39%, 74%)
CMYKcmyk(36.2%, 38.8%, 0%, 26.3%)
CIE-LABlab(51.71, 19.52, -37.77)
CIE-LCHlch(51.71, 42.51, 297.33°)
OKLaboklab(59.12% 0.0297 -0.1059)
OKLCHoklch(59.12% 0.11 285.6)
XYZxyz(22.9511, 19.8847, 50.1961)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873BC #B7BC73
analogous
#7393BC #7873BC #9D73BC
triadic
#7873BC #BC7873 #73BC78
tetradic
#7873BC #BC7393 #B7BC73 #73BC9D
square
#7873BC #BC7393 #B7BC73 #73BC9D
split-complementary
#7873BC #BC9D73 #93BC73
monochromatic
#3F3A7A #544EA4 #7873BC #A09CD0 #C8C6E4

Accessibility & contrast

On white

4.22
#7873BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7873BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873BC#FFFFFF#000000##000000
##7873BC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#66818E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7873bc;
/* rgb */ color: rgb(120, 115, 188);
/* oklch */ color: oklch(59.1% 0.110 285.6);
Tailwind
colors: {
  custom: {
    50: '#a19bd0',
    500: '#7873bc',
    950: '#000000',
  },
}
SCSS
$custom: #7873bc;
$custom-light: #a19bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7873bc",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 244.11,
    "s": 35.266,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.11,
    "h": 285.6
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#7873BC
secondary
#D2D4B7
accent
#CB5CC4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7873BC

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

Preview Lab → · Contrast checker → · Palette generator →

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