#7E79BA#7E79BA

#7E79BA is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.7% C 0.098 H 286.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7E79BA
RGBrgb(126, 121, 186)
HSLhsl(245, 32%, 60%)
HSVhsv(245, 35%, 73%)
CMYKcmyk(32.3%, 34.9%, 0%, 27.1%)
CIE-LABlab(53.66, 17.10, -33.52)
CIE-LCHlch(53.66, 37.63, 297.02°)
OKLaboklab(60.71% 0.0279 -0.0935)
OKLCHoklch(60.71% 0.098 286.6)
XYZxyz(24.3021, 21.6549, 49.3443)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79BA #B5BA79
analogous
#7995BA #7E79BA #9E79BA
triadic
#7E79BA #BA7E79 #79BA7E
tetradic
#7E79BA #BA7995 #B5BA79 #79BA9E
square
#7E79BA #BA7995 #B5BA79 #79BA9E
split-complementary
#7E79BA #BA9E79 #95BA79
monochromatic
#433F7A #5A54A2 #7E79BA #A5A1CF #CCCAE4

Accessibility & contrast

On white

3.94
#7E79BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7E79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79BA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79BA#FFFFFF#000000##000000
##7E79BA1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BD
Deuteranopia (green-blind)
#657EB8
Tritanopia (blue-blind)
#6F8591
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e79ba;
/* rgb */ color: rgb(126, 121, 186);
/* oklch */ color: oklch(60.7% 0.098 286.6);
Tailwind
colors: {
  custom: {
    50: '#a59fcf',
    500: '#7e79ba',
    950: '#000000',
  },
}
SCSS
$custom: #7e79ba;
$custom-light: #a59fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79ba",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 244.615,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.09759,
    "h": 286.6
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#7E79BA
secondary
#D2D4BB
accent
#AB3BA2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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