#7E79C1#7E79C1

#7E79C1 is a mid, moderate blue. Relative luminance 0.220; OKLCH L 61.1% C 0.108 H 285.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7E79C1
RGBrgb(126, 121, 193)
HSLhsl(244, 37%, 62%)
HSVhsv(244, 37%, 76%)
CMYKcmyk(34.7%, 37.3%, 0%, 24.3%)
CIE-LABlab(53.98, 18.98, -37.02)
CIE-LCHlch(53.98, 41.60, 297.14°)
OKLaboklab(61.06% 0.0295 -0.1036)
OKLCHoklch(61.06% 0.108 285.9)
XYZxyz(25.0646, 21.9599, 53.3598)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79C1 #BCC179
analogous
#7998C1 #7E79C1 #A279C1
triadic
#7E79C1 #C17E79 #79C17E
tetradic
#7E79C1 #C17998 #BCC179 #79C1A2
square
#7E79C1 #C17998 #BCC179 #79C1A2
split-complementary
#7E79C1 #C1A279 #98C179
monochromatic
#413D83 #5650AD #7E79C1 #A6A3D4 #CFCDE8

Accessibility & contrast

On white

3.89
#7E79C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7E79C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79C1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79C1#FFFFFF#000000##000000
##7E79C11.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6383C4
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#6D8694
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e79c1;
/* rgb */ color: rgb(126, 121, 193);
/* oklch */ color: oklch(61.1% 0.108 285.9);
Tailwind
colors: {
  custom: {
    50: '#a59fd4',
    500: '#7e79c1',
    950: '#000000',
  },
}
SCSS
$custom: #7e79c1;
$custom-light: #a59fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79c1",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 193
  },
  "hsl": {
    "h": 244.167,
    "s": 36.735,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.10776,
    "h": 285.9
  },
  "luminance": 0.21961
}

Semantic roles & 50–950 ramp

primary
#7E79C1
secondary
#D6D8BE
accent
#B036A7
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #7E79C1

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

Preview Lab → · Contrast checker → · Palette generator →

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