#7A8DF5#7A8DF5

#7A8DF5 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.155 H 273.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7A8DF5
RGBrgb(122, 141, 245)
HSLhsl(231, 86%, 72%)
HSVhsv(231, 50%, 96%)
CMYKcmyk(50.2%, 42.4%, 0%, 3.9%)
CIE-LABlab(61.46, 21.14, -54.37)
CIE-LCHlch(61.46, 58.33, 291.25°)
OKLaboklab(67.57% 0.0101 -0.1542)
OKLCHoklch(67.57% 0.155 273.8)
XYZxyz(34.0271, 29.7778, 90.3232)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8DF5 #F5E27A
analogous
#7ACAF5 #7A8DF5 #A57AF5
triadic
#7A8DF5 #F57A8D #8DF57A
tetradic
#7A8DF5 #F57ACA #F5E27A #7AF5A5
square
#7A8DF5 #F57ACA #F5E27A #7AF5A5
split-complementary
#7A8DF5 #F5A57A #CAF57A
monochromatic
#1132E3 #415CF1 #7A8DF5 #B3BEF9 #E3E7FD

Accessibility & contrast

On white

3.02
#7A8DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7A8DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8DF5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8DF5#FFFFFF#000000##000000
##7A8DF51.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#46A3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7a8df5;
/* rgb */ color: rgb(122, 141, 245);
/* oklch */ color: oklch(67.6% 0.155 273.8);
Tailwind
colors: {
  custom: {
    50: '#a7aef9',
    500: '#7a8df5',
    950: '#000000',
  },
}
SCSS
$custom: #7a8df5;
$custom-light: #a7aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8df5",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 230.732,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.15456,
    "h": 273.8
  },
  "luminance": 0.2978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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