#7A76BB#7A76BB

#7A76BB is a mid, moderate blue. Relative luminance 0.207; OKLCH L 59.8% C 0.104 H 285.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7A76BB
RGBrgb(122, 118, 187)
HSLhsl(243, 34%, 60%)
HSVhsv(243, 37%, 73%)
CMYKcmyk(34.8%, 36.9%, 0%, 26.7%)
CIE-LABlab(52.60, 18.01, -35.78)
CIE-LCHlch(52.60, 40.05, 296.72°)
OKLaboklab(59.83% 0.0277 -0.1001)
OKLCHoklch(59.83% 0.104 285.5)
XYZxyz(23.4717, 20.6816, 49.7594)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A76BB #B7BB76
analogous
#7695BB #7A76BB #9C76BB
triadic
#7A76BB #BB7A76 #76BB7A
tetradic
#7A76BB #BB7695 #B7BB76 #76BB9C
square
#7A76BB #BB7695 #B7BB76 #76BB9C
split-complementary
#7A76BB #BB9C76 #95BB76
monochromatic
#403D7A #5651A3 #7A76BB #A29FCF #C9C8E4

Accessibility & contrast

On white

4.09
#7A76BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7A76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A76BB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A76BB#FFFFFF#000000##000000
##7A76BB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#617FBE
Deuteranopia (green-blind)
#5F7CB9
Tritanopia (blue-blind)
#698390
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a76bb;
/* rgb */ color: rgb(122, 118, 187);
/* oklch */ color: oklch(59.8% 0.104 285.5);
Tailwind
colors: {
  custom: {
    50: '#a29dd0',
    500: '#7a76bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a76bb;
$custom-light: #a29dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a76bb",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 243.478,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.10386,
    "h": 285.5
  },
  "luminance": 0.20682
}

Semantic roles & 50–950 ramp

primary
#7A76BB
secondary
#D2D4B9
accent
#CA5EC4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7A76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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