#7C8CE4#7C8CE4

#7C8CE4 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.5% C 0.132 H 274.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7C8CE4
RGBrgb(124, 140, 228)
HSLhsl(231, 66%, 69%)
HSVhsv(231, 46%, 89%)
CMYKcmyk(45.6%, 38.6%, 0%, 10.6%)
CIE-LABlab(60.46, 17.12, -46.54)
CIE-LCHlch(60.46, 49.59, 290.20°)
OKLaboklab(66.55% 0.0103 -0.1313)
OKLCHoklch(66.55% 0.132 274.5)
XYZxyz(31.6895, 28.6410, 77.2422)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CE4 #E4D47C
analogous
#7CC0E4 #7C8CE4 #A07CE4
triadic
#7C8CE4 #E47C8C #8CE47C
tetradic
#7C8CE4 #E47CC0 #E4D47C #7CE4A0
square
#7C8CE4 #E47CC0 #E4D47C #7CE4A0
split-complementary
#7C8CE4 #E4A07C #C0E47C
monochromatic
#273EBE #495FDA #7C8CE4 #AFB9EE #E1E5F9

Accessibility & contrast

On white

3.12
#7C8CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7C8CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CE4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CE4#FFFFFF#000000##000000
##7C8CE41.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B96E7
Deuteranopia (green-blind)
#628EE2
Tritanopia (blue-blind)
#579EAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c8ce4;
/* rgb */ color: rgb(124, 140, 228);
/* oklch */ color: oklch(66.5% 0.132 274.5);
Tailwind
colors: {
  custom: {
    50: '#a7aded',
    500: '#7c8ce4',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ce4;
$custom-light: #a7aded;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ce4",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 228
  },
  "hsl": {
    "h": 230.769,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6655,
    "c": 0.13171,
    "h": 274.5
  },
  "luminance": 0.28643
}

Semantic roles & 50–950 ramp

primary
#7C8CE4
secondary
#EDE8CF
accent
#B218CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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