#7E79FF#7E79FF

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

Color values

HEX#7E79FF
RGBrgb(126, 121, 255)
HSLhsl(242, 100%, 74%)
HSVhsv(242, 53%, 100%)
CMYKcmyk(50.6%, 52.5%, 0%, 0%)
CIE-LABlab(57.39, 36.78, -66.37)
CIE-LCHlch(57.39, 75.88, 299.00°)
OKLaboklab(64.74% 0.0376 -0.1895)
OKLCHoklch(64.74% 0.193 281.2)
XYZxyz(33.4860, 25.3285, 97.7128)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79FF #FAFF79
analogous
#79B7FF #7E79FF #C179FF
triadic
#7E79FF #FF7E79 #79FF7E
tetradic
#7E79FF #FF79B7 #FAFF79 #79FFC1
square
#7E79FF #FF79B7 #FAFF79 #79FFC1
split-complementary
#7E79FF #FFC179 #B7FF79
monochromatic
#0900FE #433CFF #7E79FF #B9B6FF #E2E0FF

Accessibility & contrast

On white

3.46
#7E79FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7E79FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79FF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79FF#FFFFFF#000000##000000
##7E79FF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8FFF
Deuteranopia (green-blind)
#1E85FC
Tritanopia (blue-blind)
#4A97B1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e79ff;
/* rgb */ color: rgb(126, 121, 255);
/* oklch */ color: oklch(64.7% 0.193 281.2);
Tailwind
colors: {
  custom: {
    50: '#aca0ff',
    500: '#7e79ff',
    950: '#000000',
  },
}
SCSS
$custom: #7e79ff;
$custom-light: #aca0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79ff",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 242.239,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.64745,
    "c": 0.19322,
    "h": 281.2
  },
  "luminance": 0.2533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E79FF

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

Preview Lab → · Contrast checker → · Palette generator →

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