#7A8FF8#7A8FF8

#7A8FF8 is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.1% C 0.156 H 273.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7A8FF8
RGBrgb(122, 143, 248)
HSLhsl(230, 90%, 73%)
HSVhsv(230, 51%, 97%)
CMYKcmyk(50.8%, 42.3%, 0%, 2.7%)
CIE-LABlab(62.13, 20.87, -54.95)
CIE-LCHlch(62.13, 58.78, 290.80°)
OKLaboklab(68.13% 0.0084 -0.1559)
OKLCHoklch(68.13% 0.156 273.1)
XYZxyz(34.7864, 30.5576, 92.8539)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8FF8 #F8E37A
analogous
#7ACEF8 #7A8FF8 #A47AF8
triadic
#7A8FF8 #F87A8F #8FF87A
tetradic
#7A8FF8 #F87ACE #F8E37A #7AF8A4
square
#7A8FF8 #F87ACE #F8E37A #7AF8A4
split-complementary
#7A8FF8 #F8A47A #CEF87A
monochromatic
#0C32EB #405EF5 #7A8FF8 #B4C0FB #E2E7FD

Accessibility & contrast

On white

2.95
#7A8FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7A8FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8FF8
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8FF8#FFFFFF#000000##000000
##7A8FF81.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#43A6B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7a8ff8;
/* rgb */ color: rgb(122, 143, 248);
/* oklch */ color: oklch(68.1% 0.156 273.1);
Tailwind
colors: {
  custom: {
    50: '#a8affb',
    500: '#7a8ff8',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ff8;
$custom-light: #a8affb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ff8",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 230,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68129,
    "c": 0.15614,
    "h": 273.1
  },
  "luminance": 0.3056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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