#7C8EE7#7C8EE7

#7C8EE7 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.1% C 0.133 H 273.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7C8EE7
RGBrgb(124, 142, 231)
HSLhsl(230, 69%, 70%)
HSVhsv(230, 46%, 91%)
CMYKcmyk(46.3%, 38.5%, 0%, 9.4%)
CIE-LABlab(61.13, 16.83, -47.15)
CIE-LCHlch(61.13, 50.06, 289.64°)
OKLaboklab(67.11% 0.0085 -0.1331)
OKLCHoklch(67.11% 0.133 273.6)
XYZxyz(32.4045, 29.3988, 79.5529)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EE7 #E7D57C
analogous
#7CC3E7 #7C8EE7 #A07CE7
triadic
#7C8EE7 #E77C8E #8EE77C
tetradic
#7C8EE7 #E77CC3 #E7D57C #7CE7A0
square
#7C8EE7 #E77CC3 #E7D57C #7CE7A0
split-complementary
#7C8EE7 #E7A07C #C3E77C
monochromatic
#243FC5 #4861DE #7C8EE7 #B0BBF0 #E3E7FA

Accessibility & contrast

On white

3.05
#7C8EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7C8EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8EE7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EE7#FFFFFF#000000##000000
##7C8EE71.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98EB
Deuteranopia (green-blind)
#638FE5
Tritanopia (blue-blind)
#54A0AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8ee7;
/* rgb */ color: rgb(124, 142, 231);
/* oklch */ color: oklch(67.1% 0.133 273.6);
Tailwind
colors: {
  custom: {
    50: '#a7aeef',
    500: '#7c8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ee7;
$custom-light: #a7aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ee7",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 229.907,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67112,
    "c": 0.13334,
    "h": 273.6
  },
  "luminance": 0.29401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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