#7F81EB#7F81EB

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

Color values

HEX#7F81EB
RGBrgb(127, 129, 235)
HSLhsl(239, 73%, 71%)
HSVhsv(239, 46%, 92%)
CMYKcmyk(46%, 45.1%, 0%, 7.8%)
CIE-LABlab(58.23, 26.38, -53.95)
CIE-LCHlch(58.23, 60.06, 296.05°)
OKLaboklab(65.02% 0.0279 -0.153)
OKLCHoklch(65.02% 0.156 280.3)
XYZxyz(31.5935, 26.2091, 81.9753)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F81EB #EBE97F
analogous
#7FB7EB #7F81EB #B37FEB
triadic
#7F81EB #EB7F81 #81EB7F
tetradic
#7F81EB #EB7FB7 #EBE97F #7FEBB3
square
#7F81EB #EB7FB7 #EBE97F #7FEBB3
split-complementary
#7F81EB #EBB37F #B7EB7F
monochromatic
#2024CF #4A4DE3 #7F81EB #B4B5F3 #E5E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F81EB#FFFFFF#000000##000000
##7F81EB1.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)
#5690EF
Deuteranopia (green-blind)
#4F88E9
Tritanopia (blue-blind)
#5A97AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f81eb;
/* rgb */ color: rgb(127, 129, 235);
/* oklch */ color: oklch(65.0% 0.155 280.3);
Tailwind
colors: {
  custom: {
    50: '#aaa5f2',
    500: '#7f81eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f81eb;
$custom-light: #aaa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f81eb",
  "rgb": {
    "r": 127,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 238.889,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6502,
    "c": 0.1555,
    "h": 280.3
  },
  "luminance": 0.26211
}

Semantic roles & 50–950 ramp

primary
#7F81EB
secondary
#F1F1D5
accent
#D110D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7F81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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