#7C8CFB#7C8CFB

#7C8CFB is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.9% C 0.164 H 275.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7C8CFB
RGBrgb(124, 140, 251)
HSLhsl(232, 94%, 74%)
HSVhsv(232, 51%, 98%)
CMYKcmyk(50.6%, 44.2%, 0%, 1.6%)
CIE-LABlab(61.66, 23.98, -57.35)
CIE-LCHlch(61.66, 62.16, 292.70°)
OKLaboklab(67.85% 0.0143 -0.1629)
OKLCHoklch(67.85% 0.164 275)
XYZxyz(35.0973, 30.0041, 95.1900)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CFB #FBEB7C
analogous
#7CCBFB #7C8CFB #AB7CFB
triadic
#7C8CFB #FB7C8C #8CFB7C
tetradic
#7C8CFB #FB7CCB #FBEB7C #7CFBAB
square
#7C8CFB #FB7CCB #FBEB7C #7CFBAB
split-complementary
#7C8CFB #FBAB7C #CBFB7C
monochromatic
#0725F5 #4158F9 #7C8CFB #B7C0FD #E1E5FE

Accessibility & contrast

On white

3.00
#7C8CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#7C8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8CFB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CFB#FFFFFF#000000##000000
##7C8CFB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#46A4B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8cfb;
/* rgb */ color: rgb(124, 140, 251);
/* oklch */ color: oklch(67.9% 0.164 275.0);
Tailwind
colors: {
  custom: {
    50: '#a9adfd',
    500: '#7c8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cfb;
$custom-light: #a9adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cfb",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 232.441,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.16354,
    "h": 275
  },
  "luminance": 0.30006
}

Semantic roles & 50–950 ramp

primary
#7C8CFB
secondary
#F6F2D5
accent
#C900E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7C8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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