#7E79FE#7E79FE

#7E79FE is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.7% C 0.192 H 281.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7E79FE
RGBrgb(126, 121, 254)
HSLhsl(242, 99%, 74%)
HSVhsv(242, 52%, 100%)
CMYKcmyk(50.4%, 52.4%, 0%, 0.4%)
CIE-LABlab(57.33, 36.49, -65.92)
CIE-LCHlch(57.33, 75.34, 298.96°)
OKLaboklab(64.68% 0.0376 -0.1882)
OKLCHoklch(64.68% 0.192 281.3)
XYZxyz(33.3255, 25.2643, 96.8672)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79FE #F9FE79
analogous
#79B6FE #7E79FE #C079FE
triadic
#7E79FE #FE7E79 #79FE7E
tetradic
#7E79FE #FE79B6 #F9FE79 #79FEC0
square
#7E79FE #FE79B6 #F9FE79 #79FEC0
split-complementary
#7E79FE #FEC079 #B6FE79
monochromatic
#0B02FB #443CFE #7E79FE #B8B6FE #E2E1FF

Accessibility & contrast

On white

3.47
#7E79FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#7E79FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79FE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79FE#FFFFFF#000000##000000
##7E79FE1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#308EFF
Deuteranopia (green-blind)
#2185FB
Tritanopia (blue-blind)
#4B97B0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e79fe;
/* rgb */ color: rgb(126, 121, 254);
/* oklch */ color: oklch(64.7% 0.192 281.3);
Tailwind
colors: {
  custom: {
    50: '#aba0ff',
    500: '#7e79fe',
    950: '#000000',
  },
}
SCSS
$custom: #7e79fe;
$custom-light: #aba0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79fe",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 242.256,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.64678,
    "c": 0.19192,
    "h": 281.3
  },
  "luminance": 0.25266
}

Semantic roles & 50–950 ramp

primary
#7E79FE
secondary
#F6F7D4
accent
#E600DD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7E79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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