#7879CD#7879CD

#7879CD is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.2% C 0.126 H 281.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7879CD
RGBrgb(120, 121, 205)
HSLhsl(239, 46%, 64%)
HSVhsv(239, 41%, 80%)
CMYKcmyk(41.5%, 41%, 0%, 19.6%)
CIE-LABlab(54.11, 20.72, -43.69)
CIE-LCHlch(54.11, 48.36, 295.37°)
OKLaboklab(61.23% 0.0251 -0.1232)
OKLCHoklch(61.23% 0.126 281.5)
XYZxyz(25.5993, 22.0745, 60.6577)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879CD #CDCC78
analogous
#78A3CD #7879CD #A178CD
triadic
#7879CD #CD7879 #79CD78
tetradic
#7879CD #CD78A3 #CDCC78 #78CDA1
square
#7879CD #CD78A3 #CDCC78 #78CDA1
split-complementary
#7879CD #CDA178 #A3CD78
monochromatic
#373894 #4B4DBC #7879CD #A5A5DE #D1D2EE

Accessibility & contrast

On white

3.88
#7879CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7879CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879CD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879CD#FFFFFF#000000##000000
##7879CD1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84D0
Deuteranopia (green-blind)
#577ECB
Tritanopia (blue-blind)
#5E8A99
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7879cd;
/* rgb */ color: rgb(120, 121, 205);
/* oklch */ color: oklch(61.2% 0.126 281.5);
Tailwind
colors: {
  custom: {
    50: '#a39fdc',
    500: '#7879cd',
    950: '#000000',
  },
}
SCSS
$custom: #7879cd;
$custom-light: #a39fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7879cd",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 239.294,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61233,
    "c": 0.1257,
    "h": 281.5
  },
  "luminance": 0.22076
}

Semantic roles & 50–950 ramp

primary
#7879CD
secondary
#DFDFC1
accent
#B72CB9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7879CD

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

Preview Lab → · Contrast checker → · Palette generator →

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