#7A8DFE#7A8DFE

#7A8DFE is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.1% C 0.167 H 274.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7A8DFE
RGBrgb(122, 141, 254)
HSLhsl(231, 99%, 74%)
HSVhsv(231, 52%, 100%)
CMYKcmyk(52%, 44.5%, 0%, 0.4%)
CIE-LABlab(61.95, 23.88, -58.54)
CIE-LCHlch(61.95, 63.22, 292.19°)
OKLaboklab(68.09% 0.0115 -0.1664)
OKLCHoklch(68.09% 0.167 274)
XYZxyz(35.4346, 30.3408, 97.7359)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8DFE #FEEB7A
analogous
#7ACFFE #7A8DFE #A97AFE
triadic
#7A8DFE #FE7A8D #8DFE7A
tetradic
#7A8DFE #FE7ACF #FEEB7A #7AFEA9
square
#7A8DFE #FE7ACF #FEEB7A #7AFEA9
split-complementary
#7A8DFE #FEA97A #CFFE7A
monochromatic
#0226FC #3D59FE #7A8DFE #B7C1FE #E1E5FF

Accessibility & contrast

On white

2.97
#7A8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#7A8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8DFE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8DFE#FFFFFF#000000##000000
##7A8DFE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#4D90FC
Tritanopia (blue-blind)
#3DA6B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7a8dfe;
/* rgb */ color: rgb(122, 141, 254);
/* oklch */ color: oklch(68.1% 0.167 274.0);
Tailwind
colors: {
  custom: {
    50: '#a8aeff',
    500: '#7a8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #7a8dfe;
$custom-light: #a8aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8dfe",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 231.364,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68092,
    "c": 0.16685,
    "h": 274
  },
  "luminance": 0.30343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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