#7C8EF6#7C8EF6

#7C8EF6 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.154 H 274.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7C8EF6
RGBrgb(124, 142, 246)
HSLhsl(231, 87%, 73%)
HSVhsv(231, 50%, 96%)
CMYKcmyk(49.6%, 42.3%, 0%, 3.5%)
CIE-LABlab(61.90, 21.30, -54.22)
CIE-LCHlch(61.90, 58.25, 291.45°)
OKLaboklab(67.95% 0.0112 -0.1537)
OKLCHoklch(67.95% 0.154 274.2)
XYZxyz(34.6145, 30.2828, 91.1921)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EF6 #F6E47C
analogous
#7CCBF6 #7C8EF6 #A77CF6
triadic
#7C8EF6 #F67C8E #8EF67C
tetradic
#7C8EF6 #F67CCB #F6E47C #7CF6A7
square
#7C8EF6 #F67CCB #F6E47C #7CF6A7
split-complementary
#7C8EF6 #F6A77C #CBF67C
monochromatic
#1030E8 #435DF2 #7C8EF6 #B5BFFA #E2E6FD

Accessibility & contrast

On white

2.98
#7C8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7C8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EF6
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EF6#FFFFFF#000000##000000
##7C8EF61.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFA
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#49A4B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8ef6;
/* rgb */ color: rgb(124, 142, 246);
/* oklch */ color: oklch(67.9% 0.154 274.2);
Tailwind
colors: {
  custom: {
    50: '#a9aefa',
    500: '#7c8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ef6;
$custom-light: #a9aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ef6",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 231.148,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67948,
    "c": 0.15415,
    "h": 274.2
  },
  "luminance": 0.30285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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