#7A8EFE#7A8EFE

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

Color values

HEX#7A8EFE
RGBrgb(122, 142, 254)
HSLhsl(231, 99%, 74%)
HSVhsv(231, 52%, 100%)
CMYKcmyk(52%, 44.1%, 0%, 0.4%)
CIE-LABlab(62.20, 23.29, -58.13)
CIE-LCHlch(62.20, 62.62, 291.83°)
OKLaboklab(68.29% 0.0104 -0.1653)
OKLCHoklch(68.29% 0.166 273.6)
XYZxyz(35.5827, 30.6370, 97.7852)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8EFE #FEEA7A
analogous
#7AD0FE #7A8EFE #A87AFE
triadic
#7A8EFE #FE7A8E #8EFE7A
tetradic
#7A8EFE #FE7AD0 #FEEA7A #7AFEA8
square
#7A8EFE #FE7AD0 #FEEA7A #7AFEA8
split-complementary
#7A8EFE #FEA87A #D0FE7A
monochromatic
#0228FC #3D5AFE #7A8EFE #B7C2FE #E1E5FF

Accessibility & contrast

On white

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

On black

7.13
#7A8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8EFE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8EFE#FFFFFF#000000##000000
##7A8EFE1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#4F91FC
Tritanopia (blue-blind)
#3DA6BA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7a8efe;
/* rgb */ color: rgb(122, 142, 254);
/* oklch */ color: oklch(68.3% 0.166 273.6);
Tailwind
colors: {
  custom: {
    50: '#a8aeff',
    500: '#7a8efe',
    950: '#000000',
  },
}
SCSS
$custom: #7a8efe;
$custom-light: #a8aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8efe",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 230.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68285,
    "c": 0.16559,
    "h": 273.6
  },
  "luminance": 0.30639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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