#7A79B8#7A79B8

#7A79B8 is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.3% C 0.095 H 283.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7A79B8
RGBrgb(122, 121, 184)
HSLhsl(241, 31%, 60%)
HSVhsv(241, 34%, 72%)
CMYKcmyk(33.7%, 34.2%, 0%, 27.8%)
CIE-LABlab(53.25, 15.40, -33.04)
CIE-LCHlch(53.25, 36.45, 294.99°)
OKLaboklab(60.28% 0.0228 -0.0922)
OKLCHoklch(60.28% 0.095 283.9)
XYZxyz(23.5128, 21.2723, 48.2052)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A79B8 #B7B879
analogous
#7998B8 #7A79B8 #9979B8
triadic
#7A79B8 #B87A79 #79B87A
tetradic
#7A79B8 #B87998 #B7B879 #79B899
square
#7A79B8 #B87998 #B7B879 #79B899
split-complementary
#7A79B8 #B89979 #98B879
monochromatic
#403F77 #56549F #7A79B8 #A2A1CD #C9C9E2

Accessibility & contrast

On white

4.00
#7A79B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7A79B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A79B8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A79B8#FFFFFF#000000##000000
##7A79B81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6681BB
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#6A8590
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a79b8;
/* rgb */ color: rgb(122, 121, 184);
/* oklch */ color: oklch(60.3% 0.095 283.9);
Tailwind
colors: {
  custom: {
    50: '#a29fcd',
    500: '#7a79b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a79b8;
$custom-light: #a29fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a79b8",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 184
  },
  "hsl": {
    "h": 240.952,
    "s": 30.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60281,
    "c": 0.09498,
    "h": 283.9
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#7A79B8
secondary
#D2D3BA
accent
#C761C5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7A79B8

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

Preview Lab → · Contrast checker → · Palette generator →

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