#7A8EF7#7A8EF7

#7A8EF7 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.156 H 273.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7A8EF7
RGBrgb(122, 142, 247)
HSLhsl(230, 89%, 72%)
HSVhsv(230, 51%, 97%)
CMYKcmyk(50.6%, 42.5%, 0%, 3.1%)
CIE-LABlab(61.82, 21.16, -54.89)
CIE-LCHlch(61.82, 58.83, 291.08°)
OKLaboklab(67.88% 0.0093 -0.1558)
OKLCHoklch(67.88% 0.156 273.4)
XYZxyz(34.4822, 30.1968, 91.9892)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8EF7 #F7E37A
analogous
#7ACCF7 #7A8EF7 #A57AF7
triadic
#7A8EF7 #F77A8E #8EF77A
tetradic
#7A8EF7 #F77ACC #F7E37A #7AF7A5
square
#7A8EF7 #F77ACC #F7E37A #7AF7A5
split-complementary
#7A8EF7 #F7A57A #CCF77A
monochromatic
#0E31E9 #405DF4 #7A8EF7 #B4BFFA #E2E6FD

Accessibility & contrast

On white

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

On black

7.04
#7A8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8EF7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8EF7#FFFFFF#000000##000000
##7A8EF71.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#5690F5
Tritanopia (blue-blind)
#44A5B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7a8ef7;
/* rgb */ color: rgb(122, 142, 247);
/* oklch */ color: oklch(67.9% 0.156 273.4);
Tailwind
colors: {
  custom: {
    50: '#a7aefa',
    500: '#7a8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ef7;
$custom-light: #a7aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ef7",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 230.4,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.15604,
    "h": 273.4
  },
  "luminance": 0.30199
}

Semantic roles & 50–950 ramp

primary
#7A8EF7
secondary
#F5F0D6
accent
#C100E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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