#7981EA#7981EA

#7981EA is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.5% C 0.155 H 277.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7981EA
RGBrgb(121, 129, 234)
HSLhsl(236, 73%, 70%)
HSVhsv(236, 48%, 92%)
CMYKcmyk(48.3%, 44.9%, 0%, 8.2%)
CIE-LABlab(57.76, 24.71, -54.19)
CIE-LCHlch(57.76, 59.55, 294.51°)
OKLaboklab(64.53% 0.0211 -0.1538)
OKLCHoklch(64.53% 0.155 277.8)
XYZxyz(30.5821, 25.7043, 81.1759)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981EA #EAE279
analogous
#79BAEA #7981EA #AA79EA
triadic
#7981EA #EA7981 #81EA79
tetradic
#7981EA #EA79BA #EAE279 #79EAAA
square
#7981EA #EA79BA #EAE279 #79EAAA
split-complementary
#7981EA #EAAA79 #BAEA79
monochromatic
#202CC9 #444FE2 #7981EA #AEB3F2 #E3E5FB

Accessibility & contrast

On white

3.42
#7981EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7981EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981EA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981EA#FFFFFF#000000##000000
##7981EA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#4C86E8
Tritanopia (blue-blind)
#4E97AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7981ea;
/* rgb */ color: rgb(121, 129, 234);
/* oklch */ color: oklch(64.5% 0.155 277.8);
Tailwind
colors: {
  custom: {
    50: '#a6a5f1',
    500: '#7981ea',
    950: '#000000',
  },
}
SCSS
$custom: #7981ea;
$custom-light: #a6a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7981ea",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 235.752,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6453,
    "c": 0.15525,
    "h": 277.8
  },
  "luminance": 0.25706
}

Semantic roles & 50–950 ramp

primary
#7981EA
secondary
#F0EDCF
accent
#C711D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7981EA

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

Preview Lab → · Contrast checker → · Palette generator →

#7981EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva