#7E79EF#7E79EF

#7E79EF is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.7% C 0.172 H 282.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7E79EF
RGBrgb(126, 121, 239)
HSLhsl(243, 79%, 71%)
HSVhsv(243, 49%, 94%)
CMYKcmyk(47.3%, 49.4%, 0%, 6.3%)
CIE-LABlab(56.43, 32.05, -59.07)
CIE-LCHlch(56.43, 67.20, 298.48°)
OKLaboklab(63.71% 0.0365 -0.1681)
OKLCHoklch(63.71% 0.172 282.3)
XYZxyz(31.0169, 24.3408, 84.7085)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79EF #EAEF79
analogous
#79AFEF #7E79EF #B979EF
triadic
#7E79EF #EF7E79 #79EF7E
tetradic
#7E79EF #EF79AF #EAEF79 #79EFB9
square
#7E79EF #EF79AF #EAEF79 #79EFB9
split-complementary
#7E79EF #EFB979 #AFEF79
monochromatic
#2119D4 #4942E8 #7E79EF #B3B0F6 #E5E4FC

Accessibility & contrast

On white

3.58
#7E79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7E79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79EF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79EF#FFFFFF#000000##000000
##7E79EF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF3
Deuteranopia (green-blind)
#3B83EC
Tritanopia (blue-blind)
#5692A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e79ef;
/* rgb */ color: rgb(126, 121, 239);
/* oklch */ color: oklch(63.7% 0.172 282.3);
Tailwind
colors: {
  custom: {
    50: '#aa9ff5',
    500: '#7e79ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e79ef;
$custom-light: #aa9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79ef",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 242.542,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6371,
    "c": 0.17199,
    "h": 282.3
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

primary
#7E79EF
secondary
#F1F2D2
accent
#DB0BD2
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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