#7C8AEB#7C8AEB

#7C8AEB is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.5% C 0.144 H 275.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7C8AEB
RGBrgb(124, 138, 235)
HSLhsl(232, 74%, 70%)
HSVhsv(232, 47%, 92%)
CMYKcmyk(47.2%, 41.3%, 0%, 7.8%)
CIE-LABlab(60.30, 20.37, -50.68)
CIE-LCHlch(60.30, 54.62, 291.89°)
OKLaboklab(66.54% 0.014 -0.1434)
OKLCHoklch(66.54% 0.144 275.6)
XYZxyz(32.3914, 28.4584, 82.3674)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AEB #EBDD7C
analogous
#7CC2EB #7C8AEB #A57CEB
triadic
#7C8AEB #EB7C8A #8AEB7C
tetradic
#7C8AEB #EB7CC2 #EBDD7C #7CEBA5
square
#7C8AEB #EB7CC2 #EBDD7C #7CEBA5
split-complementary
#7C8AEB #EBA57C #C2EB7C
monochromatic
#1F35CD #475BE3 #7C8AEB #B1B9F3 #E4E7FB

Accessibility & contrast

On white

3.14
#7C8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#7C8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AEB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AEB#FFFFFF#000000##000000
##7C8AEB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#529EAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c8aeb;
/* rgb */ color: rgb(124, 138, 235);
/* oklch */ color: oklch(66.5% 0.144 275.6);
Tailwind
colors: {
  custom: {
    50: '#a7abf2',
    500: '#7c8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8aeb;
$custom-light: #a7abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8aeb",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 232.432,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6654,
    "c": 0.1441,
    "h": 275.6
  },
  "luminance": 0.2846
}

Semantic roles & 50–950 ramp

primary
#7C8AEB
secondary
#F1EDD2
accent
#BD10D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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