#7C8CF7#7C8CF7

#7C8CF7 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.158 H 275.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7C8CF7
RGBrgb(124, 140, 247)
HSLhsl(232, 88%, 73%)
HSVhsv(232, 50%, 97%)
CMYKcmyk(49.8%, 43.3%, 0%, 3.1%)
CIE-LABlab(61.44, 22.78, -55.49)
CIE-LCHlch(61.44, 59.98, 292.31°)
OKLaboklab(67.62% 0.0137 -0.1575)
OKLCHoklch(67.62% 0.158 275)
XYZxyz(34.4735, 29.7545, 91.9043)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CF7 #F7E77C
analogous
#7CCAF7 #7C8CF7 #A97CF7
triadic
#7C8CF7 #F77C8C #8CF77C
tetradic
#7C8CF7 #F77CCA #F7E77C #7CF7A9
square
#7C8CF7 #F77CCA #F7E77C #7CF7A9
split-complementary
#7C8CF7 #F7A97C #CAF77C
monochromatic
#0E2BEA #4259F3 #7C8CF7 #B6BFFB #E2E6FD

Accessibility & contrast

On white

3.02
#7C8CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7C8CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CF7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CF7#FFFFFF#000000##000000
##7C8CF71.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#49A3B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8cf7;
/* rgb */ color: rgb(124, 140, 247);
/* oklch */ color: oklch(67.6% 0.158 275.0);
Tailwind
colors: {
  custom: {
    50: '#a9adfa',
    500: '#7c8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cf7;
$custom-light: #a9adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cf7",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 232.195,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67617,
    "c": 0.15808,
    "h": 275
  },
  "luminance": 0.29757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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