#7C8CF9#7C8CF9

#7C8CF9 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.7% C 0.161 H 275.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7C8CF9
RGBrgb(124, 140, 249)
HSLhsl(232, 91%, 73%)
HSVhsv(232, 50%, 98%)
CMYKcmyk(50.2%, 43.8%, 0%, 2.4%)
CIE-LABlab(61.55, 23.38, -56.42)
CIE-LCHlch(61.55, 61.07, 292.51°)
OKLaboklab(67.73% 0.014 -0.1602)
OKLCHoklch(67.73% 0.161 275)
XYZxyz(34.7837, 29.8787, 93.5384)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CF9 #F9E97C
analogous
#7CCAF9 #7C8CF9 #AA7CF9
triadic
#7C8CF9 #F97C8C #8CF97C
tetradic
#7C8CF9 #F97CCA #F9E97C #7CF9AA
square
#7C8CF9 #F97CCA #F9E97C #7CF9AA
split-complementary
#7C8CF9 #F9AA7C #CAF97C
monochromatic
#0B28F0 #4159F6 #7C8CF9 #B7BFFC #E2E5FE

Accessibility & contrast

On white

3.01
#7C8CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7C8CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CF9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CF9#FFFFFF#000000##000000
##7C8CF91.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#47A3B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8cf9;
/* rgb */ color: rgb(124, 140, 249);
/* oklch */ color: oklch(67.7% 0.161 275.0);
Tailwind
colors: {
  custom: {
    50: '#a9adfc',
    500: '#7c8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cf9;
$custom-light: #a9adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cf9",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 232.32,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67734,
    "c": 0.16082,
    "h": 275
  },
  "luminance": 0.29881
}

Semantic roles & 50–950 ramp

primary
#7C8CF9
secondary
#F6F2D5
accent
#C800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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