#7A7ED6#7A7ED6

#7A7ED6 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.131 H 279.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7A7ED6
RGBrgb(122, 126, 214)
HSLhsl(237, 53%, 66%)
HSVhsv(237, 43%, 84%)
CMYKcmyk(43%, 41.1%, 0%, 16.1%)
CIE-LABlab(56.00, 20.84, -45.77)
CIE-LCHlch(56.00, 50.29, 294.48°)
OKLaboklab(62.87% 0.0226 -0.1292)
OKLCHoklch(62.87% 0.131 279.9)
XYZxyz(27.6209, 23.9131, 66.7656)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7ED6 #D6D27A
analogous
#7AACD6 #7A7ED6 #A47AD6
triadic
#7A7ED6 #D67A7E #7ED67A
tetradic
#7A7ED6 #D67AAC #D6D27A #7AD6A4
square
#7A7ED6 #D67AAC #D6D27A #7AD6A4
split-complementary
#7A7ED6 #D6A47A #ACD67A
monochromatic
#3237A3 #4B51C8 #7A7ED6 #A9ABE4 #D8D9F3

Accessibility & contrast

On white

3.63
#7A7ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7A7ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7ED6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7ED6#FFFFFF#000000##000000
##7A7ED61.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8AD9
Deuteranopia (green-blind)
#5883D4
Tritanopia (blue-blind)
#5C90A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a7ed6;
/* rgb */ color: rgb(122, 126, 214);
/* oklch */ color: oklch(62.9% 0.131 279.9);
Tailwind
colors: {
  custom: {
    50: '#a5a3e3',
    500: '#7a7ed6',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ed6;
$custom-light: #a5a3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ed6",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 214
  },
  "hsl": {
    "h": 237.391,
    "s": 52.874,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62867,
    "c": 0.13115,
    "h": 279.9
  },
  "luminance": 0.23914
}

Semantic roles & 50–950 ramp

primary
#7A7ED6
secondary
#E5E4C7
accent
#BA25C0
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7A7ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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