#7C8DF6#7C8DF6

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

Color values

HEX#7C8DF6
RGBrgb(124, 141, 246)
HSLhsl(232, 87%, 73%)
HSVhsv(232, 50%, 96%)
CMYKcmyk(49.6%, 42.7%, 0%, 3.5%)
CIE-LABlab(61.64, 21.88, -54.62)
CIE-LCHlch(61.64, 58.84, 291.83°)
OKLaboklab(67.75% 0.0124 -0.1549)
OKLCHoklch(67.75% 0.155 274.6)
XYZxyz(34.4663, 29.9866, 91.1427)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DF6 #F6E57C
analogous
#7CCAF6 #7C8DF6 #A87CF6
triadic
#7C8DF6 #F67C8D #8DF67C
tetradic
#7C8DF6 #F67CCA #F6E57C #7CF6A8
square
#7C8DF6 #F67CCA #F6E57C #7CF6A8
split-complementary
#7C8DF6 #F6A87C #CAF67C
monochromatic
#102EE8 #435BF2 #7C8DF6 #B5BFFA #E2E6FD

Accessibility & contrast

On white

3.00
#7C8DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#7C8DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8DF6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DF6#FFFFFF#000000##000000
##7C8DF61.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#4AA3B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8df6;
/* rgb */ color: rgb(124, 141, 246);
/* oklch */ color: oklch(67.8% 0.155 274.6);
Tailwind
colors: {
  custom: {
    50: '#a9aefa',
    500: '#7c8df6',
    950: '#000000',
  },
}
SCSS
$custom: #7c8df6;
$custom-light: #a9aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8df6",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 231.639,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67753,
    "c": 0.15542,
    "h": 274.6
  },
  "luminance": 0.29989
}

Semantic roles & 50–950 ramp

primary
#7C8DF6
secondary
#F5F1D6
accent
#C402E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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