#7C8DFD#7C8DFD

#7C8DFD is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.2% C 0.165 H 274.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7C8DFD
RGBrgb(124, 141, 253)
HSLhsl(232, 97%, 74%)
HSVhsv(232, 51%, 99%)
CMYKcmyk(51%, 44.3%, 0%, 0.8%)
CIE-LABlab(62.02, 24.00, -57.87)
CIE-LCHlch(62.02, 62.65, 292.53°)
OKLaboklab(68.16% 0.0134 -0.1645)
OKLCHoklch(68.16% 0.165 274.7)
XYZxyz(35.5610, 30.4244, 96.9081)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DFD #FDEC7C
analogous
#7CCEFD #7C8DFD #AC7CFD
triadic
#7C8DFD #FD7C8D #8DFD7C
tetradic
#7C8DFD #FD7CCE #FDEC7C #7CFDAC
square
#7C8DFD #FD7CCE #FDEC7C #7CFDAC
split-complementary
#7C8DFD #FDAC7C #CEFD7C
monochromatic
#0424FB #4059FC #7C8DFD #B8C1FE #E1E5FF

Accessibility & contrast

On white

2.96
#7C8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7C8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8DFD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DFD#FFFFFF#000000##000000
##7C8DFD1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#44A5B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8dfd;
/* rgb */ color: rgb(124, 141, 253);
/* oklch */ color: oklch(68.2% 0.165 274.7);
Tailwind
colors: {
  custom: {
    50: '#a9aeff',
    500: '#7c8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7c8dfd;
$custom-light: #a9aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8dfd",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 232.093,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68162,
    "c": 0.165,
    "h": 274.7
  },
  "luminance": 0.30427
}

Semantic roles & 50–950 ramp

primary
#7C8DFD
secondary
#F7F2D4
accent
#C700E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7C8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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