#7A79F5#7A79F5

#7A79F5 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.8% C 0.181 H 280.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7A79F5
RGBrgb(122, 121, 245)
HSLhsl(240, 86%, 72%)
HSVhsv(240, 51%, 96%)
CMYKcmyk(50.2%, 50.6%, 0%, 3.9%)
CIE-LABlab(56.49, 32.97, -62.32)
CIE-LCHlch(56.49, 70.50, 297.88°)
OKLaboklab(63.8% 0.0324 -0.1777)
OKLCHoklch(63.8% 0.181 280.3)
XYZxyz(31.3398, 24.4031, 89.4274)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A79F5 #F4F579
analogous
#79B6F5 #7A79F5 #B879F5
triadic
#7A79F5 #F57A79 #79F57A
tetradic
#7A79F5 #F579B6 #F4F579 #79F5B8
square
#7A79F5 #F579B6 #F4F579 #79F5B8
split-complementary
#7A79F5 #F5B879 #B6F579
monochromatic
#1311E3 #4140F1 #7A79F5 #B3B2F9 #E3E3FD

Accessibility & contrast

On white

3.57
#7A79F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7A79F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A79F5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A79F5#FFFFFF#000000##000000
##7A79F51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF9
Deuteranopia (green-blind)
#2F83F2
Tritanopia (blue-blind)
#4994AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a79f5;
/* rgb */ color: rgb(122, 121, 245);
/* oklch */ color: oklch(63.8% 0.181 280.3);
Tailwind
colors: {
  custom: {
    50: '#a89ff9',
    500: '#7a79f5',
    950: '#000000',
  },
}
SCSS
$custom: #7a79f5;
$custom-light: #a89ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a79f5",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 240.484,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63797,
    "c": 0.18064,
    "h": 280.3
  },
  "luminance": 0.24405
}

Semantic roles & 50–950 ramp

primary
#7A79F5
secondary
#F4F5D5
accent
#E303E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A79F5

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

Preview Lab → · Contrast checker → · Palette generator →

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