#7C8AF9#7C8AF9

#7C8AF9 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.3% C 0.163 H 275.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7C8AF9
RGBrgb(124, 138, 249)
HSLhsl(233, 91%, 73%)
HSVhsv(233, 50%, 98%)
CMYKcmyk(50.2%, 44.6%, 0%, 2.4%)
CIE-LABlab(61.05, 24.56, -57.22)
CIE-LCHlch(61.05, 62.27, 293.23°)
OKLaboklab(67.35% 0.0162 -0.1626)
OKLCHoklch(67.35% 0.163 275.7)
XYZxyz(34.4942, 29.2995, 93.4419)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AF9 #F9EB7C
analogous
#7CC8F9 #7C8AF9 #AC7CF9
triadic
#7C8AF9 #F97C8A #8AF97C
tetradic
#7C8AF9 #F97CC8 #F9EB7C #7CF9AC
square
#7C8AF9 #F97CC8 #F9EB7C #7CF9AC
split-complementary
#7C8AF9 #F9AC7C #C8F97C
monochromatic
#0B25F0 #4156F6 #7C8AF9 #B7BEFC #E2E5FE

Accessibility & contrast

On white

3.06
#7C8AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7C8AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AF9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AF9#FFFFFF#000000##000000
##7C8AF91.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FD
Deuteranopia (green-blind)
#4E8EF7
Tritanopia (blue-blind)
#48A2B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8af9;
/* rgb */ color: rgb(124, 138, 249);
/* oklch */ color: oklch(67.3% 0.163 275.7);
Tailwind
colors: {
  custom: {
    50: '#a9abfc',
    500: '#7c8af9',
    950: '#000000',
  },
}
SCSS
$custom: #7c8af9;
$custom-light: #a9abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8af9",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 233.28,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6735,
    "c": 0.16339,
    "h": 275.7
  },
  "luminance": 0.29302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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