#7C8AF7#7C8AF7

#7C8AF7 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.2% C 0.161 H 275.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7C8AF7
RGBrgb(124, 138, 247)
HSLhsl(233, 88%, 73%)
HSVhsv(233, 50%, 97%)
CMYKcmyk(49.8%, 44.1%, 0%, 3.1%)
CIE-LABlab(60.94, 23.95, -56.30)
CIE-LCHlch(60.94, 61.18, 293.05°)
OKLaboklab(67.23% 0.0159 -0.1599)
OKLCHoklch(67.23% 0.161 275.7)
XYZxyz(34.1839, 29.1754, 91.8078)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AF7 #F7E97C
analogous
#7CC7F7 #7C8AF7 #AC7CF7
triadic
#7C8AF7 #F77C8A #8AF77C
tetradic
#7C8AF7 #F77CC7 #F7E97C #7CF7AC
square
#7C8AF7 #F77CC7 #F7E97C #7CF7AC
split-complementary
#7C8AF7 #F7AC7C #C7F77C
monochromatic
#0E27EA #4256F3 #7C8AF7 #B6BEFB #E2E5FD

Accessibility & contrast

On white

3.07
#7C8AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#7C8AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AF7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AF7#FFFFFF#000000##000000
##7C8AF71.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#49A1B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8af7;
/* rgb */ color: rgb(124, 138, 247);
/* oklch */ color: oklch(67.2% 0.161 275.7);
Tailwind
colors: {
  custom: {
    50: '#a9abfa',
    500: '#7c8af7',
    950: '#000000',
  },
}
SCSS
$custom: #7c8af7;
$custom-light: #a9abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8af7",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 233.171,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67232,
    "c": 0.16066,
    "h": 275.7
  },
  "luminance": 0.29177
}

Semantic roles & 50–950 ramp

primary
#7C8AF7
secondary
#F5F2D6
accent
#CB00E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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