#7873BB#7873BB

#7873BB is a mid, moderate blue. Relative luminance 0.198; OKLCH L 59.1% C 0.109 H 285.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7873BB
RGBrgb(120, 115, 187)
HSLhsl(244, 35%, 59%)
HSVhsv(244, 39%, 73%)
CMYKcmyk(35.8%, 38.5%, 0%, 26.7%)
CIE-LABlab(51.66, 19.24, -37.27)
CIE-LCHlch(51.66, 41.94, 297.31°)
OKLaboklab(59.07% 0.0294 -0.1045)
OKLCHoklch(59.07% 0.109 285.7)
XYZxyz(22.8436, 19.8417, 49.6303)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873BB #B6BB73
analogous
#7392BB #7873BB #9C73BB
triadic
#7873BB #BB7873 #73BB78
tetradic
#7873BB #BB7392 #B6BB73 #73BB9C
square
#7873BB #BB7392 #B6BB73 #73BB9C
split-complementary
#7873BB #BB9C73 #92BB73
monochromatic
#3F3B79 #554FA2 #7873BB #A09CCF #C7C5E3

Accessibility & contrast

On white

4.23
#7873BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7873BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873BB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873BB#FFFFFF#000000##000000
##7873BB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7873bb;
/* rgb */ color: rgb(120, 115, 187);
/* oklch */ color: oklch(59.1% 0.109 285.7);
Tailwind
colors: {
  custom: {
    50: '#a19bd0',
    500: '#7873bb',
    950: '#000000',
  },
}
SCSS
$custom: #7873bb;
$custom-light: #a19bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7873bb",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 244.167,
    "s": 34.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.10855,
    "h": 285.7
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#7873BB
secondary
#D1D3B7
accent
#CB5DC3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7873BB

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

Preview Lab → · Contrast checker → · Palette generator →

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