#7C81EA#7C81EA

#7C81EA is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.7% C 0.155 H 279.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7C81EA
RGBrgb(124, 129, 234)
HSLhsl(237, 72%, 70%)
HSVhsv(237, 47%, 92%)
CMYKcmyk(47%, 44.9%, 0%, 8.2%)
CIE-LABlab(57.97, 25.39, -53.84)
CIE-LCHlch(57.97, 59.53, 295.25°)
OKLaboklab(64.74% 0.0244 -0.1527)
OKLCHoklch(64.74% 0.155 279.1)
XYZxyz(31.0092, 25.9245, 81.1959)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C81EA #EAE57C
analogous
#7CB8EA #7C81EA #AE7CEA
triadic
#7C81EA #EA7C81 #81EA7C
tetradic
#7C81EA #EA7CB8 #EAE57C #7CEAAE
square
#7C81EA #EA7CB8 #EAE57C #7CEAAE
split-complementary
#7C81EA #EAAE7C #B8EA7C
monochromatic
#2128CB #474EE2 #7C81EA #B1B4F2 #E5E6FB

Accessibility & contrast

On white

3.40
#7C81EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7C81EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C81EA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C81EA#FFFFFF#000000##000000
##7C81EA1.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#4E87E8
Tritanopia (blue-blind)
#5497AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c81ea;
/* rgb */ color: rgb(124, 129, 234);
/* oklch */ color: oklch(64.7% 0.155 279.1);
Tailwind
colors: {
  custom: {
    50: '#a8a5f1',
    500: '#7c81ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c81ea;
$custom-light: #a8a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c81ea",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 237.273,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64743,
    "c": 0.15466,
    "h": 279.1
  },
  "luminance": 0.25926
}

Semantic roles & 50–950 ramp

primary
#7C81EA
secondary
#F0EFD2
accent
#CC11D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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