#7C79BA#7C79BA

#7C79BA is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.5% C 0.098 H 285.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7C79BA
RGBrgb(124, 121, 186)
HSLhsl(243, 32%, 60%)
HSVhsv(243, 35%, 73%)
CMYKcmyk(33.3%, 34.9%, 0%, 27.1%)
CIE-LABlab(53.50, 16.52, -33.79)
CIE-LCHlch(53.50, 37.61, 296.05°)
OKLaboklab(60.54% 0.0256 -0.0943)
OKLCHoklch(60.54% 0.098 285.2)
XYZxyz(24.0101, 21.5043, 49.3306)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C79BA #B7BA79
analogous
#7997BA #7C79BA #9C79BA
triadic
#7C79BA #BA7C79 #79BA7C
tetradic
#7C79BA #BA7997 #B7BA79 #79BA9C
square
#7C79BA #BA7997 #B7BA79 #79BA9C
split-complementary
#7C79BA #BA9C79 #97BA79
monochromatic
#413F7A #5754A2 #7C79BA #A3A1CF #CBCAE4

Accessibility & contrast

On white

3.96
#7C79BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7C79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C79BA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C79BA#FFFFFF#000000##000000
##7C79BA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BD
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#6C8591
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c79ba;
/* rgb */ color: rgb(124, 121, 186);
/* oklch */ color: oklch(60.5% 0.098 285.2);
Tailwind
colors: {
  custom: {
    50: '#a49fcf',
    500: '#7c79ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c79ba;
$custom-light: #a49fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c79ba",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 242.769,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60544,
    "c": 0.09773,
    "h": 285.2
  },
  "luminance": 0.21505
}

Semantic roles & 50–950 ramp

primary
#7C79BA
secondary
#D3D4BB
accent
#AB3BA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7C79BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7C79BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva