#7A8EF6#7A8EF6

#7A8EF6 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.8% C 0.155 H 273.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7A8EF6
RGBrgb(122, 142, 246)
HSLhsl(230, 87%, 72%)
HSVhsv(230, 50%, 96%)
CMYKcmyk(50.4%, 42.3%, 0%, 3.5%)
CIE-LABlab(61.77, 20.86, -54.43)
CIE-LCHlch(61.77, 58.28, 290.97°)
OKLaboklab(67.82% 0.0092 -0.1544)
OKLCHoklch(67.82% 0.155 273.4)
XYZxyz(34.3283, 30.1352, 91.1787)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8EF6 #F6E27A
analogous
#7ACCF6 #7A8EF6 #A47AF6
triadic
#7A8EF6 #F67A8E #8EF67A
tetradic
#7A8EF6 #F67ACC #F6E27A #7AF6A4
square
#7A8EF6 #F67ACC #F6E27A #7AF6A4
split-complementary
#7A8EF6 #F6A47A #CCF67A
monochromatic
#1032E6 #415DF2 #7A8EF6 #B3BFFA #E2E7FD

Accessibility & contrast

On white

2.99
#7A8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7A8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8EF6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8EF6#FFFFFF#000000##000000
##7A8EF61.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#5790F4
Tritanopia (blue-blind)
#45A4B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7a8ef6;
/* rgb */ color: rgb(122, 142, 246);
/* oklch */ color: oklch(67.8% 0.155 273.4);
Tailwind
colors: {
  custom: {
    50: '#a7aefa',
    500: '#7a8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ef6;
$custom-light: #a7aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ef6",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 230.323,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67818,
    "c": 0.15466,
    "h": 273.4
  },
  "luminance": 0.30137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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