#7A76CB#7A76CB

#7A76CB is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.127 H 284.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7A76CB
RGBrgb(122, 118, 203)
HSLhsl(243, 45%, 63%)
HSVhsv(243, 42%, 80%)
CMYKcmyk(39.9%, 41.9%, 0%, 20.4%)
CIE-LABlab(53.39, 22.46, -43.68)
CIE-LCHlch(53.39, 49.11, 297.21°)
OKLaboklab(60.69% 0.0309 -0.1231)
OKLCHoklch(60.69% 0.127 284.1)
XYZxyz(25.2809, 21.4053, 59.2879)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A76CB #C7CB76
analogous
#769CCB #7A76CB #A576CB
triadic
#7A76CB #CB7A76 #76CB7A
tetradic
#7A76CB #CB769C #C7CB76 #76CBA5
square
#7A76CB #CB769C #C7CB76 #76CBA5
split-complementary
#7A76CB #CBA576 #9CCB76
monochromatic
#3B3790 #4F4ABA #7A76CB #A5A2DC #D0CFED

Accessibility & contrast

On white

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

On black

5.28
#7A76CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A76CB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A76CB#FFFFFF#000000##000000
##7A76CB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#638797
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a76cb;
/* rgb */ color: rgb(122, 118, 203);
/* oklch */ color: oklch(60.7% 0.127 284.1);
Tailwind
colors: {
  custom: {
    50: '#a49ddb',
    500: '#7a76cb',
    950: '#000000',
  },
}
SCSS
$custom: #7a76cb;
$custom-light: #a49ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a76cb",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 242.824,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.1269,
    "h": 284.1
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#7A76CB
secondary
#DCDEBF
accent
#B82DB2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A76CB

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

Preview Lab → · Contrast checker → · Palette generator →

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