#7C81EF#7C81EF

#7C81EF is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.0% C 0.162 H 278.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7C81EF
RGBrgb(124, 129, 239)
HSLhsl(237, 78%, 71%)
HSVhsv(237, 48%, 94%)
CMYKcmyk(48.1%, 46%, 0%, 6.3%)
CIE-LABlab(58.24, 26.88, -56.18)
CIE-LCHlch(58.24, 62.27, 295.57°)
OKLaboklab(65.04% 0.0251 -0.1596)
OKLCHoklch(65.04% 0.162 278.9)
XYZxyz(31.7376, 26.2159, 85.0324)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C81EF #EFEA7C
analogous
#7CBAEF #7C81EF #B07CEF
triadic
#7C81EF #EF7C81 #81EF7C
tetradic
#7C81EF #EF7CBA #EFEA7C #7CEFB0
square
#7C81EF #EF7CBA #EFEA7C #7CEFB0
split-complementary
#7C81EF #EFB07C #BAEF7C
monochromatic
#1A22D6 #454DE8 #7C81EF #B3B5F6 #E4E5FC

Accessibility & contrast

On white

3.36
#7C81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7C81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C81EF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C81EF#FFFFFF#000000##000000
##7C81EF1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#4988ED
Tritanopia (blue-blind)
#5198AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c81ef;
/* rgb */ color: rgb(124, 129, 239);
/* oklch */ color: oklch(65.0% 0.162 278.9);
Tailwind
colors: {
  custom: {
    50: '#a8a5f5',
    500: '#7c81ef',
    950: '#000000',
  },
}
SCSS
$custom: #7c81ef;
$custom-light: #a8a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c81ef",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 237.391,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65042,
    "c": 0.16153,
    "h": 278.9
  },
  "luminance": 0.26218
}

Semantic roles & 50–950 ramp

primary
#7C81EF
secondary
#F3F1D4
accent
#D10BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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