#7876CD#7876CD

#7876CD is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.130 H 282.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7876CD
RGBrgb(120, 118, 205)
HSLhsl(241, 47%, 63%)
HSVhsv(241, 42%, 80%)
CMYKcmyk(41.5%, 42.4%, 0%, 19.6%)
CIE-LABlab(53.34, 22.51, -44.91)
CIE-LCHlch(53.34, 50.24, 296.62°)
OKLaboklab(60.65% 0.0289 -0.1267)
OKLCHoklch(60.65% 0.13 282.9)
XYZxyz(25.2404, 21.3567, 60.5381)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876CD #CBCD76
analogous
#769FCD #7876CD #A376CD
triadic
#7876CD #CD7876 #76CD78
tetradic
#7876CD #CD769F #CBCD76 #76CDA3
square
#7876CD #CD769F #CBCD76 #76CDA3
split-complementary
#7876CD #CDA376 #9FCD76
monochromatic
#383693 #4C49BD #7876CD #A4A3DD #D0D0EE

Accessibility & contrast

On white

3.98
#7876CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7876CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876CD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876CD#FFFFFF#000000##000000
##7876CD1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782D0
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#5E8797
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7876cd;
/* rgb */ color: rgb(120, 118, 205);
/* oklch */ color: oklch(60.6% 0.130 282.9);
Tailwind
colors: {
  custom: {
    50: '#a39ddd',
    500: '#7876cd',
    950: '#000000',
  },
}
SCSS
$custom: #7876cd;
$custom-light: #a39ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7876cd",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 241.379,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.12999,
    "h": 282.9
  },
  "luminance": 0.21358
}

Semantic roles & 50–950 ramp

primary
#7876CD
secondary
#DEDFC0
accent
#BA2CB6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7876CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7876CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva