#7A76EB#7A76EB

#7A76EB is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.6% C 0.171 H 281.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7A76EB
RGBrgb(122, 118, 235)
HSLhsl(242, 75%, 69%)
HSVhsv(242, 50%, 92%)
CMYKcmyk(48.1%, 49.8%, 0%, 7.8%)
CIE-LABlab(55.17, 31.76, -58.88)
CIE-LCHlch(55.17, 66.90, 298.34°)
OKLaboklab(62.61% 0.035 -0.1676)
OKLCHoklch(62.61% 0.171 281.8)
XYZxyz(29.4953, 23.0911, 81.4840)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A76EB #E7EB76
analogous
#76ADEB #7A76EB #B576EB
triadic
#7A76EB #EB7A76 #76EB7A
tetradic
#7A76EB #EB76AD #E7EB76 #76EBB5
square
#7A76EB #EB76AD #E7EB76 #76EBB5
split-complementary
#7A76EB #EBB576 #ADEB76
monochromatic
#231DC9 #4641E3 #7A76EB #AEABF3 #E2E1FB

Accessibility & contrast

On white

3.74
#7A76EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7A76EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A76EB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A76EB#FFFFFF#000000##000000
##7A76EB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#3780E8
Tritanopia (blue-blind)
#518FA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7a76eb;
/* rgb */ color: rgb(122, 118, 235);
/* oklch */ color: oklch(62.6% 0.171 281.8);
Tailwind
colors: {
  custom: {
    50: '#a79df2',
    500: '#7a76eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a76eb;
$custom-light: #a79df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a76eb",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 242.051,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62611,
    "c": 0.17124,
    "h": 281.8
  },
  "luminance": 0.23093
}

Semantic roles & 50–950 ramp

primary
#7A76EB
secondary
#EEEFCD
accent
#D70FD0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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