#7A7EF5#7A7EF5

#7A7EF5 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.7% C 0.174 H 278.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7A7EF5
RGBrgb(122, 126, 245)
HSLhsl(238, 86%, 72%)
HSVhsv(238, 50%, 96%)
CMYKcmyk(50.2%, 48.6%, 0%, 3.9%)
CIE-LABlab(57.70, 30.02, -60.37)
CIE-LCHlch(57.70, 67.42, 296.44°)
OKLaboklab(64.71% 0.0269 -0.1719)
OKLCHoklch(64.71% 0.174 278.9)
XYZxyz(31.9632, 25.6500, 89.6352)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7EF5 #F5F17A
analogous
#7ABCF5 #7A7EF5 #B47AF5
triadic
#7A7EF5 #F57A7E #7EF57A
tetradic
#7A7EF5 #F57ABC #F5F17A #7AF5B4
square
#7A7EF5 #F57ABC #F5F17A #7AF5B4
split-complementary
#7A7EF5 #F5B47A #BCF57A
monochromatic
#1118E3 #4147F1 #7A7EF5 #B3B5F9 #E3E3FD

Accessibility & contrast

On white

3.43
#7A7EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#7A7EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7EF5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7EF5#FFFFFF#000000##000000
##7A7EF51.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#3A86F2
Tritanopia (blue-blind)
#4898AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a7ef5;
/* rgb */ color: rgb(122, 126, 245);
/* oklch */ color: oklch(64.7% 0.174 278.9);
Tailwind
colors: {
  custom: {
    50: '#a8a3f9',
    500: '#7a7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ef5;
$custom-light: #a8a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ef5",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 238.049,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6471,
    "c": 0.17405,
    "h": 278.9
  },
  "luminance": 0.25652
}

Semantic roles & 50–950 ramp

primary
#7A7EF5
secondary
#F5F4D6
accent
#DB03E3
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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