#7D81EF#7D81EF

#7D81EF is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.1% C 0.161 H 279.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7D81EF
RGBrgb(125, 129, 239)
HSLhsl(238, 78%, 71%)
HSVhsv(238, 48%, 94%)
CMYKcmyk(47.7%, 46%, 0%, 6.3%)
CIE-LABlab(58.31, 27.10, -56.06)
CIE-LCHlch(58.31, 62.27, 295.80°)
OKLaboklab(65.11% 0.0262 -0.1592)
OKLCHoklch(65.11% 0.161 279.3)
XYZxyz(31.8829, 26.2908, 85.0393)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D81EF #EFEB7D
analogous
#7DBAEF #7D81EF #B27DEF
triadic
#7D81EF #EF7D81 #81EF7D
tetradic
#7D81EF #EF7DBA #EFEB7D #7DEFB2
square
#7D81EF #EF7DBA #EFEB7D #7DEFB2
split-complementary
#7D81EF #EFB27D #BAEF7D
monochromatic
#1A21D7 #474CE8 #7D81EF #B3B6F6 #E4E5FC

Accessibility & contrast

On white

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

On black

6.26
#7D81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D81EF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D81EF#FFFFFF#000000##000000
##7D81EF1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d81ef;
/* rgb */ color: rgb(125, 129, 239);
/* oklch */ color: oklch(65.1% 0.161 279.3);
Tailwind
colors: {
  custom: {
    50: '#a9a5f5',
    500: '#7d81ef',
    950: '#000000',
  },
}
SCSS
$custom: #7d81ef;
$custom-light: #a9a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d81ef",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 237.895,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65114,
    "c": 0.16135,
    "h": 279.3
  },
  "luminance": 0.26292
}

Semantic roles & 50–950 ramp

primary
#7D81EF
secondary
#F3F2D5
accent
#D30BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7D81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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