#7C8DEC#7C8DEC

#7C8DEC is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.2% C 0.142 H 274.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7C8DEC
RGBrgb(124, 141, 236)
HSLhsl(231, 75%, 71%)
HSVhsv(231, 47%, 93%)
CMYKcmyk(47.5%, 40.3%, 0%, 7.5%)
CIE-LABlab(61.12, 18.90, -49.93)
CIE-LCHlch(61.12, 53.39, 290.73°)
OKLaboklab(67.19% 0.0106 -0.1412)
OKLCHoklch(67.19% 0.142 274.3)
XYZxyz(32.9726, 29.3891, 83.2758)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DEC #ECDB7C
analogous
#7CC5EC #7C8DEC #A37CEC
triadic
#7C8DEC #EC7C8D #8DEC7C
tetradic
#7C8DEC #EC7CC5 #ECDB7C #7CECA3
square
#7C8DEC #EC7CC5 #ECDB7C #7CECA3
split-complementary
#7C8DEC #ECA37C #C5EC7C
monochromatic
#1E39D0 #475EE4 #7C8DEC #B1BCF4 #E4E8FB

Accessibility & contrast

On white

3.05
#7C8DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7C8DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8DEC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DEC#FFFFFF#000000##000000
##7C8DEC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#5E8FEA
Tritanopia (blue-blind)
#51A1B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8dec;
/* rgb */ color: rgb(124, 141, 236);
/* oklch */ color: oklch(67.2% 0.142 274.3);
Tailwind
colors: {
  custom: {
    50: '#a7aef2',
    500: '#7c8dec',
    950: '#000000',
  },
}
SCSS
$custom: #7c8dec;
$custom-light: #a7aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8dec",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 230.893,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67187,
    "c": 0.1416,
    "h": 274.3
  },
  "luminance": 0.29391
}

Semantic roles & 50–950 ramp

primary
#7C8DEC
secondary
#F1ECD3
accent
#B80FD7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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