#7A79CD#7A79CD

#7A79CD is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.125 H 282.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7A79CD
RGBrgb(122, 121, 205)
HSLhsl(241, 46%, 64%)
HSVhsv(241, 41%, 80%)
CMYKcmyk(40.5%, 41%, 0%, 19.6%)
CIE-LABlab(54.26, 21.23, -43.44)
CIE-LCHlch(54.26, 48.35, 296.05°)
OKLaboklab(61.39% 0.0274 -0.1224)
OKLCHoklch(61.39% 0.125 282.6)
XYZxyz(25.8797, 22.2191, 60.6709)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A79CD #CCCD79
analogous
#79A2CD #7A79CD #A479CD
triadic
#7A79CD #CD7A79 #79CD7A
tetradic
#7A79CD #CD79A2 #CCCD79 #79CDA4
square
#7A79CD #CD79A2 #CCCD79 #79CDA4
split-complementary
#7A79CD #CDA479 #A2CD79
monochromatic
#383794 #4E4CBC #7A79CD #A6A6DE #D2D2EE

Accessibility & contrast

On white

3.86
#7A79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7A79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A79CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A79CD#FFFFFF#000000##000000
##7A79CD1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#618A99
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a79cd;
/* rgb */ color: rgb(122, 121, 205);
/* oklch */ color: oklch(61.4% 0.125 282.6);
Tailwind
colors: {
  custom: {
    50: '#a49fdc',
    500: '#7a79cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a79cd;
$custom-light: #a49fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a79cd",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 240.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61388,
    "c": 0.12541,
    "h": 282.6
  },
  "luminance": 0.2222
}

Semantic roles & 50–950 ramp

primary
#7A79CD
secondary
#DFE0C2
accent
#B92DB7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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