#7C81EC#7C81EC

#7C81EC is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.9% C 0.157 H 279.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7C81EC
RGBrgb(124, 129, 236)
HSLhsl(237, 75%, 71%)
HSVhsv(237, 47%, 93%)
CMYKcmyk(47.5%, 45.3%, 0%, 7.5%)
CIE-LABlab(58.08, 25.98, -54.78)
CIE-LCHlch(58.08, 60.63, 295.38°)
OKLaboklab(64.86% 0.0247 -0.1555)
OKLCHoklch(64.86% 0.157 279)
XYZxyz(31.2981, 26.0401, 82.7177)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C81EC #ECE77C
analogous
#7CB9EC #7C81EC #AF7CEC
triadic
#7C81EC #EC7C81 #81EC7C
tetradic
#7C81EC #EC7CB9 #ECE77C #7CECAF
square
#7C81EC #EC7CB9 #ECE77C #7CECAF
split-complementary
#7C81EC #ECAF7C #B9EC7C
monochromatic
#1E26D0 #474EE4 #7C81EC #B1B4F4 #E4E5FB

Accessibility & contrast

On white

3.38
#7C81EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7C81EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C81EC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C81EC#FFFFFF#000000##000000
##7C81EC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#4C87EA
Tritanopia (blue-blind)
#5398AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c81ec;
/* rgb */ color: rgb(124, 129, 236);
/* oklch */ color: oklch(64.9% 0.157 279.0);
Tailwind
colors: {
  custom: {
    50: '#a8a5f3',
    500: '#7c81ec',
    950: '#000000',
  },
}
SCSS
$custom: #7c81ec;
$custom-light: #a8a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c81ec",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 237.321,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64862,
    "c": 0.15742,
    "h": 279
  },
  "luminance": 0.26042
}

Semantic roles & 50–950 ramp

primary
#7C81EC
secondary
#F1F0D3
accent
#CE0FD7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C81EC

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

Preview Lab → · Contrast checker → · Palette generator →

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