#7C8EFD#7C8EFD

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

Color values

HEX#7C8EFD
RGBrgb(124, 142, 253)
HSLhsl(232, 97%, 74%)
HSVhsv(232, 51%, 99%)
CMYKcmyk(51%, 43.9%, 0%, 0.8%)
CIE-LABlab(62.27, 23.41, -57.46)
CIE-LCHlch(62.27, 62.05, 292.17°)
OKLaboklab(68.35% 0.0123 -0.1633)
OKLCHoklch(68.35% 0.164 274.3)
XYZxyz(35.7092, 30.7207, 96.9575)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EFD #FDEB7C
analogous
#7CCFFD #7C8EFD #AB7CFD
triadic
#7C8EFD #FD7C8E #8EFD7C
tetradic
#7C8EFD #FD7CCF #FDEB7C #7CFDAB
square
#7C8EFD #FD7CCF #FDEB7C #7CFDAB
split-complementary
#7C8EFD #FDAB7C #CFFD7C
monochromatic
#0426FB #405AFC #7C8EFD #B8C2FE #E1E5FF

Accessibility & contrast

On white

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

On black

7.14
#7C8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EFD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EFD#FFFFFF#000000##000000
##7C8EFD1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#5191FB
Tritanopia (blue-blind)
#43A6B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7c8efd;
/* rgb */ color: rgb(124, 142, 253);
/* oklch */ color: oklch(68.4% 0.164 274.3);
Tailwind
colors: {
  custom: {
    50: '#a9aefe',
    500: '#7c8efd',
    950: '#000000',
  },
}
SCSS
$custom: #7c8efd;
$custom-light: #a9aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8efd",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 231.628,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68354,
    "c": 0.16372,
    "h": 274.3
  },
  "luminance": 0.30723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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