#7A8EF8#7A8EF8

#7A8EF8 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.157 H 273.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7A8EF8
RGBrgb(122, 142, 248)
HSLhsl(230, 90%, 73%)
HSVhsv(230, 51%, 97%)
CMYKcmyk(50.8%, 42.7%, 0%, 2.7%)
CIE-LABlab(61.88, 21.46, -55.36)
CIE-LCHlch(61.88, 59.37, 291.19°)
OKLaboklab(67.93% 0.0095 -0.1571)
OKLCHoklch(67.93% 0.157 273.5)
XYZxyz(34.6369, 30.2587, 92.8041)
Luminance0.3026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8EF8 #F8E47A
analogous
#7ACDF8 #7A8EF8 #A57AF8
triadic
#7A8EF8 #F87A8E #8EF87A
tetradic
#7A8EF8 #F87ACD #F8E47A #7AF8A5
square
#7A8EF8 #F87ACD #F8E47A #7AF8A5
split-complementary
#7A8EF8 #F8A57A #CDF87A
monochromatic
#0C30EB #405DF5 #7A8EF8 #B4BFFB #E2E6FD

Accessibility & contrast

On white

2.98
#7A8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7A8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8EF8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8EF8#FFFFFF#000000##000000
##7A8EF81.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#5590F6
Tritanopia (blue-blind)
#43A5B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7a8ef8;
/* rgb */ color: rgb(122, 142, 248);
/* oklch */ color: oklch(67.9% 0.157 273.5);
Tailwind
colors: {
  custom: {
    50: '#a8aefb',
    500: '#7a8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ef8;
$custom-light: #a8aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ef8",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 230.476,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67933,
    "c": 0.15741,
    "h": 273.5
  },
  "luminance": 0.30261
}

Semantic roles & 50–950 ramp

primary
#7A8EF8
secondary
#F6F0D5
accent
#C100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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