#7A79F2#7A79F2

#7A79F2 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.6% C 0.177 H 280.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7A79F2
RGBrgb(122, 121, 242)
HSLhsl(240, 82%, 71%)
HSVhsv(240, 50%, 95%)
CMYKcmyk(49.6%, 50%, 0%, 5.1%)
CIE-LABlab(56.31, 32.07, -60.94)
CIE-LCHlch(56.31, 68.87, 297.76°)
OKLaboklab(63.6% 0.0322 -0.1737)
OKLCHoklch(63.6% 0.177 280.5)
XYZxyz(30.8855, 24.2214, 87.0349)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A79F2 #F1F279
analogous
#79B4F2 #7A79F2 #B679F2
triadic
#7A79F2 #F27A79 #79F27A
tetradic
#7A79F2 #F279B4 #F1F279 #79F2B6
square
#7A79F2 #F279B4 #F1F279 #79F2B6
split-complementary
#7A79F2 #F2B679 #B4F279
monochromatic
#1715DB #4341ED #7A79F2 #B1B1F7 #E3E3FC

Accessibility & contrast

On white

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

On black

5.84
#7A79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A79F2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A79F2#FFFFFF#000000##000000
##7A79F21.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#3383EF
Tritanopia (blue-blind)
#4B93AA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a79f2;
/* rgb */ color: rgb(122, 121, 242);
/* oklch */ color: oklch(63.6% 0.177 280.5);
Tailwind
colors: {
  custom: {
    50: '#a89ff7',
    500: '#7a79f2',
    950: '#000000',
  },
}
SCSS
$custom: #7a79f2;
$custom-light: #a89ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a79f2",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 240.496,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63604,
    "c": 0.17663,
    "h": 280.5
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#7A79F2
secondary
#F3F3D3
accent
#DF07DD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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