#7C81E4#7C81E4

#7C81E4 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.4% C 0.146 H 279.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7C81E4
RGBrgb(124, 129, 228)
HSLhsl(237, 66%, 69%)
HSVhsv(237, 46%, 89%)
CMYKcmyk(45.6%, 43.4%, 0%, 10.6%)
CIE-LABlab(57.64, 23.62, -51.01)
CIE-LCHlch(57.64, 56.22, 294.85°)
OKLaboklab(64.39% 0.0235 -0.1444)
OKLCHoklch(64.39% 0.146 279.3)
XYZxyz(30.1618, 25.5855, 76.7330)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C81E4 #E4DF7C
analogous
#7CB5E4 #7C81E4 #AB7CE4
triadic
#7C81E4 #E47C81 #81E47C
tetradic
#7C81E4 #E47CB5 #E4DF7C #7CE4AB
square
#7C81E4 #E47CB5 #E4DF7C #7CE4AB
split-complementary
#7C81E4 #E4AB7C #B5E47C
monochromatic
#272FBE #4950DA #7C81E4 #AFB2EE #E1E3F9

Accessibility & contrast

On white

3.43
#7C81E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7C81E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C81E4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C81E4#FFFFFF#000000##000000
##7C81E41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FE8
Deuteranopia (green-blind)
#5387E2
Tritanopia (blue-blind)
#5896A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c81e4;
/* rgb */ color: rgb(124, 129, 228);
/* oklch */ color: oklch(64.4% 0.146 279.3);
Tailwind
colors: {
  custom: {
    50: '#a7a5ed',
    500: '#7c81e4',
    950: '#000000',
  },
}
SCSS
$custom: #7c81e4;
$custom-light: #a7a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c81e4",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 237.115,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64392,
    "c": 0.14635,
    "h": 279.3
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

primary
#7C81E4
secondary
#EDECCF
accent
#C518CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7C81E4

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

Preview Lab → · Contrast checker → · Palette generator →

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