#7981FB#7981FB

#7981FB is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.6% C 0.178 H 277.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7981FB
RGBrgb(121, 129, 251)
HSLhsl(236, 94%, 73%)
HSVhsv(236, 52%, 98%)
CMYKcmyk(51.8%, 48.6%, 0%, 1.6%)
CIE-LABlab(58.72, 29.85, -62.05)
CIE-LCHlch(58.72, 68.86, 295.69°)
OKLaboklab(65.58% 0.0231 -0.1769)
OKLCHoklch(65.58% 0.178 277.4)
XYZxyz(33.1425, 26.7284, 94.6608)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981FB #FBF379
analogous
#79C2FB #7981FB #B279FB
triadic
#7981FB #FB7981 #81FB79
tetradic
#7981FB #FB79C2 #FBF379 #79FBB2
square
#7981FB #FB79C2 #FBF379 #79FBB2
split-complementary
#7981FB #FBB279 #C2FB79
monochromatic
#0716F2 #3E49F9 #7981FB #B4B9FD #E1E3FE

Accessibility & contrast

On white

3.31
#7981FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7981FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981FB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981FB#FFFFFF#000000##000000
##7981FB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#3888F8
Tritanopia (blue-blind)
#409CB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7981fb;
/* rgb */ color: rgb(121, 129, 251);
/* oklch */ color: oklch(65.6% 0.178 277.4);
Tailwind
colors: {
  custom: {
    50: '#a8a5fd',
    500: '#7981fb',
    950: '#000000',
  },
}
SCSS
$custom: #7981fb;
$custom-light: #a8a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7981fb",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 236.308,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65575,
    "c": 0.17841,
    "h": 277.4
  },
  "luminance": 0.2673
}

Semantic roles & 50–950 ramp

primary
#7981FB
secondary
#F6F4D5
accent
#D700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7981FB

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

Preview Lab → · Contrast checker → · Palette generator →

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