#7A8EFD#7A8EFD

#7A8EFD is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.2% C 0.164 H 273.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7A8EFD
RGBrgb(122, 142, 253)
HSLhsl(231, 97%, 74%)
HSVhsv(231, 52%, 99%)
CMYKcmyk(51.8%, 43.9%, 0%, 0.8%)
CIE-LABlab(62.15, 22.99, -57.67)
CIE-LCHlch(62.15, 62.08, 291.73°)
OKLaboklab(68.23% 0.0103 -0.1639)
OKLCHoklch(68.23% 0.164 273.6)
XYZxyz(35.4230, 30.5731, 96.9441)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8EFD #FDE97A
analogous
#7ACFFD #7A8EFD #A77AFD
triadic
#7A8EFD #FD7A8E #8EFD7A
tetradic
#7A8EFD #FD7ACF #FDE97A #7AFDA7
square
#7A8EFD #FD7ACF #FDE97A #7AFDA7
split-complementary
#7A8EFD #FDA77A #CFFD7A
monochromatic
#0429F9 #3E5BFC #7A8EFD #B6C1FE #E1E5FF

Accessibility & contrast

On white

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

On black

7.12
#7A8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8EFD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8EFD#FFFFFF#000000##000000
##7A8EFD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#3EA6B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7a8efd;
/* rgb */ color: rgb(122, 142, 253);
/* oklch */ color: oklch(68.2% 0.164 273.6);
Tailwind
colors: {
  custom: {
    50: '#a8aefe',
    500: '#7a8efd',
    950: '#000000',
  },
}
SCSS
$custom: #7a8efd;
$custom-light: #a8aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8efd",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 230.84,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.16423,
    "h": 273.6
  },
  "luminance": 0.30575
}

Semantic roles & 50–950 ramp

primary
#7A8EFD
secondary
#F7F2D4
accent
#C200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7A8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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