#7E79FA#7E79FA

#7E79FA is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.4% C 0.187 H 281.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7E79FA
RGBrgb(126, 121, 250)
HSLhsl(242, 93%, 73%)
HSVhsv(242, 52%, 98%)
CMYKcmyk(49.6%, 51.6%, 0%, 2%)
CIE-LABlab(57.09, 35.30, -64.11)
CIE-LCHlch(57.09, 73.18, 298.84°)
OKLaboklab(64.42% 0.0373 -0.1829)
OKLCHoklch(64.42% 0.187 281.5)
XYZxyz(32.6916, 25.0107, 93.5289)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79FA #F5FA79
analogous
#79B4FA #7E79FA #BF79FA
triadic
#7E79FA #FA7E79 #79FA7E
tetradic
#7E79FA #FA79B4 #F5FA79 #79FABF
square
#7E79FA #FA79B4 #F5FA79 #79FABF
split-complementary
#7E79FA #FABF79 #B4FA79
monochromatic
#1209F0 #453EF8 #7E79FA #B7B4FC #E3E2FE

Accessibility & contrast

On white

3.50
#7E79FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#7E79FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79FA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79FA#FFFFFF#000000##000000
##7E79FA1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#2A84F7
Tritanopia (blue-blind)
#4E95AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e79fa;
/* rgb */ color: rgb(126, 121, 250);
/* oklch */ color: oklch(64.4% 0.187 281.5);
Tailwind
colors: {
  custom: {
    50: '#aba0fd',
    500: '#7e79fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e79fa;
$custom-light: #aba0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79fa",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 242.326,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.18665,
    "h": 281.5
  },
  "luminance": 0.25012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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