#7C8AFE#7C8AFE

#7C8AFE is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.6% C 0.170 H 275.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7C8AFE
RGBrgb(124, 138, 254)
HSLhsl(234, 98%, 74%)
HSVhsv(234, 51%, 100%)
CMYKcmyk(51.2%, 45.7%, 0%, 0.4%)
CIE-LABlab(61.32, 26.07, -59.53)
CIE-LCHlch(61.32, 64.99, 293.65°)
OKLaboklab(67.65% 0.0169 -0.1693)
OKLCHoklch(67.65% 0.17 275.7)
XYZxyz(35.2844, 29.6156, 97.6038)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AFE #FEF07C
analogous
#7CCBFE #7C8AFE #AF7CFE
triadic
#7C8AFE #FE7C8A #8AFE7C
tetradic
#7C8AFE #FE7CCB #FEF07C #7CFEAF
square
#7C8AFE #FE7CCB #FEF07C #7CFEAF
split-complementary
#7C8AFE #FEAF7C #CBFE7C
monochromatic
#031EFD #3F54FE #7C8AFE #B9C0FE #E1E4FF

Accessibility & contrast

On white

3.03
#7C8AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#7C8AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AFE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AFE#FFFFFF#000000##000000
##7C8AFE1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#498FFB
Tritanopia (blue-blind)
#43A3B8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8afe;
/* rgb */ color: rgb(124, 138, 254);
/* oklch */ color: oklch(67.6% 0.170 275.7);
Tailwind
colors: {
  custom: {
    50: '#aaacff',
    500: '#7c8afe',
    950: '#000000',
  },
}
SCSS
$custom: #7c8afe;
$custom-light: #aaacff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8afe",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 233.538,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67649,
    "c": 0.17019,
    "h": 275.7
  },
  "luminance": 0.29618
}

Semantic roles & 50–950 ramp

primary
#7C8AFE
secondary
#F7F3D4
accent
#CD00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7C8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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