#7C8EFA#7C8EFA

#7C8EFA is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.2% C 0.160 H 274.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7C8EFA
RGBrgb(124, 142, 250)
HSLhsl(231, 93%, 73%)
HSVhsv(231, 50%, 98%)
CMYKcmyk(50.4%, 43.2%, 0%, 2%)
CIE-LABlab(62.11, 22.50, -56.08)
CIE-LCHlch(62.11, 60.42, 291.87°)
OKLaboklab(68.18% 0.0119 -0.1592)
OKLCHoklch(68.18% 0.16 274.3)
XYZxyz(35.2350, 30.5310, 94.4603)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EFA #FAE87C
analogous
#7CCDFA #7C8EFA #A97CFA
triadic
#7C8EFA #FA7C8E #8EFA7C
tetradic
#7C8EFA #FA7CCD #FAE87C #7CFAA9
square
#7C8EFA #FA7CCD #FAE87C #7CFAA9
split-complementary
#7C8EFA #FAA97C #CDFA7C
monochromatic
#092BF2 #415BF8 #7C8EFA #B7C1FC #E2E6FE

Accessibility & contrast

On white

2.95
#7C8EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7C8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EFA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EFA#FFFFFF#000000##000000
##7C8EFA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#46A5B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8efa;
/* rgb */ color: rgb(124, 142, 250);
/* oklch */ color: oklch(68.2% 0.160 274.3);
Tailwind
colors: {
  custom: {
    50: '#a9aefc',
    500: '#7c8efa',
    950: '#000000',
  },
}
SCSS
$custom: #7c8efa;
$custom-light: #a9aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8efa",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 231.429,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68179,
    "c": 0.15963,
    "h": 274.3
  },
  "luminance": 0.30533
}

Semantic roles & 50–950 ramp

primary
#7C8EFA
secondary
#F6F1D5
accent
#C500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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