#7A77BA#7A77BA

#7A77BA is a mid, moderate blue. Relative luminance 0.209; OKLCH L 60.0% C 0.101 H 285.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7A77BA
RGBrgb(122, 119, 186)
HSLhsl(243, 33%, 60%)
HSVhsv(243, 36%, 73%)
CMYKcmyk(34.4%, 36%, 0%, 27.1%)
CIE-LABlab(52.81, 17.14, -34.87)
CIE-LCHlch(52.81, 38.85, 296.17°)
OKLaboklab(59.98% 0.0261 -0.0975)
OKLCHoklch(59.98% 0.101 285)
XYZxyz(23.4834, 20.8757, 49.2370)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A77BA #B7BA77
analogous
#7795BA #7A77BA #9C77BA
triadic
#7A77BA #BA7A77 #77BA7A
tetradic
#7A77BA #BA7795 #B7BA77 #77BA9C
square
#7A77BA #BA7795 #B7BA77 #77BA9C
split-complementary
#7A77BA #BA9C77 #95BA77
monochromatic
#403D79 #5652A2 #7A77BA #A2A0CF #C9C8E3

Accessibility & contrast

On white

4.06
#7A77BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7A77BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A77BA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A77BA#FFFFFF#000000##000000
##7A77BA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BD
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#698490
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a77ba;
/* rgb */ color: rgb(122, 119, 186);
/* oklch */ color: oklch(60.0% 0.101 285.0);
Tailwind
colors: {
  custom: {
    50: '#a29ecf',
    500: '#7a77ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a77ba;
$custom-light: #a29ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a77ba",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 242.687,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59979,
    "c": 0.1009,
    "h": 285
  },
  "luminance": 0.20876
}

Semantic roles & 50–950 ramp

primary
#7A77BA
secondary
#D2D3B9
accent
#C95FC4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7A77BA

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

Preview Lab → · Contrast checker → · Palette generator →

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