#7A79BA#7A79BA

#7A79BA is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.4% C 0.098 H 283.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7A79BA
RGBrgb(122, 121, 186)
HSLhsl(241, 32%, 60%)
HSVhsv(241, 35%, 73%)
CMYKcmyk(34.4%, 34.9%, 0%, 27.1%)
CIE-LABlab(53.34, 15.94, -34.05)
CIE-LCHlch(53.34, 37.59, 295.09°)
OKLaboklab(60.38% 0.0233 -0.0951)
OKLCHoklch(60.38% 0.098 283.8)
XYZxyz(23.7239, 21.3568, 49.3172)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A79BA #B9BA79
analogous
#7998BA #7A79BA #9A79BA
triadic
#7A79BA #BA7A79 #79BA7A
tetradic
#7A79BA #BA7998 #B9BA79 #79BA9A
square
#7A79BA #BA7998 #B9BA79 #79BA9A
split-complementary
#7A79BA #BA9A79 #98BA79
monochromatic
#403F7A #5554A2 #7A79BA #A2A1CF #CACAE4

Accessibility & contrast

On white

3.98
#7A79BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7A79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A79BA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A79BA#FFFFFF#000000##000000
##7A79BA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6581BD
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#698591
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a79ba;
/* rgb */ color: rgb(122, 121, 186);
/* oklch */ color: oklch(60.4% 0.098 283.8);
Tailwind
colors: {
  custom: {
    50: '#a29fcf',
    500: '#7a79ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a79ba;
$custom-light: #a29fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a79ba",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 240.923,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.09792,
    "h": 283.8
  },
  "luminance": 0.21357
}

Semantic roles & 50–950 ramp

primary
#7A79BA
secondary
#D3D4BB
accent
#AB3BA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7A79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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