#7A79F3#7A79F3

#7A79F3 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.7% C 0.178 H 280.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7A79F3
RGBrgb(122, 121, 243)
HSLhsl(240, 84%, 71%)
HSVhsv(240, 50%, 95%)
CMYKcmyk(49.8%, 50.2%, 0%, 4.7%)
CIE-LABlab(56.37, 32.37, -61.40)
CIE-LCHlch(56.37, 69.41, 297.80°)
OKLaboklab(63.67% 0.0323 -0.175)
OKLCHoklch(63.67% 0.178 280.4)
XYZxyz(31.0361, 24.2816, 87.8281)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A79F3 #F2F379
analogous
#79B5F3 #7A79F3 #B779F3
triadic
#7A79F3 #F37A79 #79F37A
tetradic
#7A79F3 #F379B5 #F2F379 #79F3B7
square
#7A79F3 #F379B5 #F2F379 #79F3B7
split-complementary
#7A79F3 #F3B779 #B5F379
monochromatic
#1614DE #4241EE #7A79F3 #B2B1F8 #E3E3FC

Accessibility & contrast

On white

3.59
#7A79F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7A79F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A79F3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A79F3#FFFFFF#000000##000000
##7A79F31.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF7
Deuteranopia (green-blind)
#3283F0
Tritanopia (blue-blind)
#4B94AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a79f3;
/* rgb */ color: rgb(122, 121, 243);
/* oklch */ color: oklch(63.7% 0.178 280.4);
Tailwind
colors: {
  custom: {
    50: '#a89ff8',
    500: '#7a79f3',
    950: '#000000',
  },
}
SCSS
$custom: #7a79f3;
$custom-light: #a89ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a79f3",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 240.492,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63668,
    "c": 0.17797,
    "h": 280.4
  },
  "luminance": 0.24283
}

Semantic roles & 50–950 ramp

primary
#7A79F3
secondary
#F3F4D4
accent
#E006DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A79F3

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

Preview Lab → · Contrast checker → · Palette generator →

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