#7C8CF6#7C8CF6

#7C8CF6 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.6% C 0.157 H 274.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7C8CF6
RGBrgb(124, 140, 246)
HSLhsl(232, 87%, 73%)
HSVhsv(232, 50%, 96%)
CMYKcmyk(49.6%, 43.1%, 0%, 3.5%)
CIE-LABlab(61.39, 22.47, -55.03)
CIE-LCHlch(61.39, 59.44, 292.22°)
OKLaboklab(67.56% 0.0135 -0.1561)
OKLCHoklch(67.56% 0.157 274.9)
XYZxyz(34.3196, 29.6930, 91.0938)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CF6 #F6E67C
analogous
#7CC9F6 #7C8CF6 #A97CF6
triadic
#7C8CF6 #F67C8C #8CF67C
tetradic
#7C8CF6 #F67CC9 #F6E67C #7CF6A9
square
#7C8CF6 #F67CC9 #F6E67C #7CF6A9
split-complementary
#7C8CF6 #F6A97C #C9F67C
monochromatic
#102CE8 #435AF2 #7C8CF6 #B5BEFA #E2E6FD

Accessibility & contrast

On white

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

On black

6.94
#7C8CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CF6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CF6#FFFFFF#000000##000000
##7C8CF61.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#4AA3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8cf6;
/* rgb */ color: rgb(124, 140, 246);
/* oklch */ color: oklch(67.6% 0.157 274.9);
Tailwind
colors: {
  custom: {
    50: '#a9adfa',
    500: '#7c8cf6',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cf6;
$custom-light: #a9adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cf6",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 232.131,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67559,
    "c": 0.15671,
    "h": 274.9
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

primary
#7C8CF6
secondary
#F5F1D6
accent
#C602E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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