#7E79E8#7E79E8

#7E79E8 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.3% C 0.163 H 282.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7E79E8
RGBrgb(126, 121, 232)
HSLhsl(243, 71%, 69%)
HSVhsv(243, 48%, 91%)
CMYKcmyk(45.7%, 47.8%, 0%, 9%)
CIE-LABlab(56.02, 30.00, -55.82)
CIE-LCHlch(56.02, 63.37, 298.26°)
OKLaboklab(63.28% 0.0359 -0.1585)
OKLCHoklch(63.28% 0.163 282.7)
XYZxyz(30.0027, 23.9351, 79.3674)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79E8 #E3E879
analogous
#79ACE8 #7E79E8 #B679E8
triadic
#7E79E8 #E87E79 #79E87E
tetradic
#7E79E8 #E879AC #E3E879 #79E8B6
square
#7E79E8 #E879AC #E3E879 #79E8B6
split-complementary
#7E79E8 #E8B679 #ACE879
monochromatic
#2922C5 #4C45DF #7E79E8 #B0ADF1 #E3E1FA

Accessibility & contrast

On white

3.63
#7E79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7E79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79E8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79E8#FFFFFF#000000##000000
##7E79E81.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEC
Deuteranopia (green-blind)
#4483E6
Tritanopia (blue-blind)
#5A90A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e79e8;
/* rgb */ color: rgb(126, 121, 232);
/* oklch */ color: oklch(63.3% 0.163 282.7);
Tailwind
colors: {
  custom: {
    50: '#a99ff0',
    500: '#7e79e8',
    950: '#000000',
  },
}
SCSS
$custom: #7e79e8;
$custom-light: #a99ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79e8",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 242.703,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63275,
    "c": 0.16252,
    "h": 282.7
  },
  "luminance": 0.23937
}

Semantic roles & 50–950 ramp

primary
#7E79E8
secondary
#EDEFCE
accent
#D313CA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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