#7C8EFC#7C8EFC

#7C8EFC is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.162 H 274.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7C8EFC
RGBrgb(124, 142, 252)
HSLhsl(232, 96%, 74%)
HSVhsv(232, 51%, 99%)
CMYKcmyk(50.8%, 43.7%, 0%, 1.2%)
CIE-LABlab(62.22, 23.11, -57.00)
CIE-LCHlch(62.22, 61.51, 292.07°)
OKLaboklab(68.29% 0.0122 -0.1619)
OKLCHoklch(68.29% 0.162 274.3)
XYZxyz(35.5503, 30.6571, 96.1207)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EFC #FCEA7C
analogous
#7CCEFC #7C8EFC #AA7CFC
triadic
#7C8EFC #FC7C8E #8EFC7C
tetradic
#7C8EFC #FC7CCE #FCEA7C #7CFCAA
square
#7C8EFC #FC7CCE #FCEA7C #7CFCAA
split-complementary
#7C8EFC #FCAA7C #CEFC7C
monochromatic
#0628F8 #405AFB #7C8EFC #B8C2FD #E1E5FE

Accessibility & contrast

On white

2.94
#7C8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7C8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EFC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EFC#FFFFFF#000000##000000
##7C8EFC1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#5291FA
Tritanopia (blue-blind)
#44A6B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8efc;
/* rgb */ color: rgb(124, 142, 252);
/* oklch */ color: oklch(68.3% 0.162 274.3);
Tailwind
colors: {
  custom: {
    50: '#a9aefe',
    500: '#7c8efc',
    950: '#000000',
  },
}
SCSS
$custom: #7c8efc;
$custom-light: #a9aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8efc",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 231.563,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68295,
    "c": 0.16236,
    "h": 274.3
  },
  "luminance": 0.30659
}

Semantic roles & 50–950 ramp

primary
#7C8EFC
secondary
#F7F2D4
accent
#C500E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7C8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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