#7C8CE7#7C8CE7

#7C8CE7 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.7% C 0.136 H 274.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7C8CE7
RGBrgb(124, 140, 231)
HSLhsl(231, 69%, 70%)
HSVhsv(231, 46%, 91%)
CMYKcmyk(46.3%, 39.4%, 0%, 9.4%)
CIE-LABlab(60.61, 18.00, -47.97)
CIE-LCHlch(60.61, 51.24, 290.57°)
OKLaboklab(66.71% 0.0109 -0.1355)
OKLCHoklch(66.71% 0.136 274.6)
XYZxyz(32.1096, 28.8090, 79.4546)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CE7 #E7D77C
analogous
#7CC2E7 #7C8CE7 #A27CE7
triadic
#7C8CE7 #E77C8C #8CE77C
tetradic
#7C8CE7 #E77CC2 #E7D77C #7CE7A2
square
#7C8CE7 #E77CC2 #E7D77C #7CE7A2
split-complementary
#7C8CE7 #E7A27C #C2E77C
monochromatic
#243CC5 #485FDE #7C8CE7 #B0B9F0 #E3E7FA

Accessibility & contrast

On white

3.11
#7C8CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7C8CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CE7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CE7#FFFFFF#000000##000000
##7C8CE71.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EB
Deuteranopia (green-blind)
#608EE5
Tritanopia (blue-blind)
#559FAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c8ce7;
/* rgb */ color: rgb(124, 140, 231);
/* oklch */ color: oklch(66.7% 0.136 274.6);
Tailwind
colors: {
  custom: {
    50: '#a7adef',
    500: '#7c8ce7',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ce7;
$custom-light: #a7adef;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ce7",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 231.028,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66713,
    "c": 0.13591,
    "h": 274.6
  },
  "luminance": 0.28811
}

Semantic roles & 50–950 ramp

primary
#7C8CE7
secondary
#EFEAD0
accent
#B515D1
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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