#7E79FC#7E79FC

#7E79FC is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.5% C 0.189 H 281.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7E79FC
RGBrgb(126, 121, 252)
HSLhsl(242, 96%, 73%)
HSVhsv(242, 52%, 99%)
CMYKcmyk(50%, 52%, 0%, 1.2%)
CIE-LABlab(57.21, 35.89, -65.02)
CIE-LCHlch(57.21, 74.27, 298.90°)
OKLaboklab(64.55% 0.0374 -0.1855)
OKLCHoklch(64.55% 0.189 281.4)
XYZxyz(33.0069, 25.1368, 95.1893)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79FC #F7FC79
analogous
#79B5FC #7E79FC #BF79FC
triadic
#7E79FC #FC7E79 #79FC7E
tetradic
#7E79FC #FC79B5 #F7FC79 #79FCBF
square
#7E79FC #FC79B5 #F7FC79 #79FCBF
split-complementary
#7E79FC #FCBF79 #B5FC79
monochromatic
#0F05F5 #443DFB #7E79FC #B8B5FD #E2E1FE

Accessibility & contrast

On white

3.48
#7E79FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7E79FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79FC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79FC#FFFFFF#000000##000000
##7E79FC1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#2685F9
Tritanopia (blue-blind)
#4D96AF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e79fc;
/* rgb */ color: rgb(126, 121, 252);
/* oklch */ color: oklch(64.5% 0.189 281.4);
Tailwind
colors: {
  custom: {
    50: '#aba0fe',
    500: '#7e79fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e79fc;
$custom-light: #aba0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79fc",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 242.29,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.64547,
    "c": 0.18929,
    "h": 281.4
  },
  "luminance": 0.25139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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