#7C81E8#7C81E8

#7C81E8 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.6% C 0.152 H 279.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7C81E8
RGBrgb(124, 129, 232)
HSLhsl(237, 70%, 70%)
HSVhsv(237, 47%, 91%)
CMYKcmyk(46.6%, 44.4%, 0%, 9%)
CIE-LABlab(57.86, 24.80, -52.90)
CIE-LCHlch(57.86, 58.42, 295.12°)
OKLaboklab(64.63% 0.0241 -0.15)
OKLCHoklch(64.63% 0.152 279.1)
XYZxyz(30.7235, 25.8102, 79.6913)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C81E8 #E8E37C
analogous
#7CB7E8 #7C81E8 #AD7CE8
triadic
#7C81E8 #E87C81 #81E87C
tetradic
#7C81E8 #E87CB7 #E8E37C #7CE8AD
square
#7C81E8 #E87CB7 #E8E37C #7CE8AD
split-complementary
#7C81E8 #E8AD7C #B7E87C
monochromatic
#232AC7 #484FDF #7C81E8 #B0B3F1 #E4E5FA

Accessibility & contrast

On white

3.41
#7C81E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7C81E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C81E8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C81E8#FFFFFF#000000##000000
##7C81E81.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEC
Deuteranopia (green-blind)
#4F87E6
Tritanopia (blue-blind)
#5597A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c81e8;
/* rgb */ color: rgb(124, 129, 232);
/* oklch */ color: oklch(64.6% 0.152 279.1);
Tailwind
colors: {
  custom: {
    50: '#a7a5f0',
    500: '#7c81e8',
    950: '#000000',
  },
}
SCSS
$custom: #7c81e8;
$custom-light: #a7a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c81e8",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 237.222,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64625,
    "c": 0.1519,
    "h": 279.1
  },
  "luminance": 0.25812
}

Semantic roles & 50–950 ramp

primary
#7C81E8
secondary
#EFEED1
accent
#C913D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7C81E8

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

Preview Lab → · Contrast checker → · Palette generator →

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