#7981FF#7981FF

#7981FF is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.8% C 0.184 H 277.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7981FF
RGBrgb(121, 129, 255)
HSLhsl(236, 100%, 74%)
HSVhsv(236, 53%, 100%)
CMYKcmyk(52.5%, 49.4%, 0%, 0%)
CIE-LABlab(58.96, 31.07, -63.87)
CIE-LCHlch(58.96, 71.03, 295.94°)
OKLaboklab(65.83% 0.0235 -0.1822)
OKLCHoklch(65.83% 0.184 277.3)
XYZxyz(33.7797, 26.9833, 98.0167)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981FF #FFF779
analogous
#79C4FF #7981FF #B479FF
triadic
#7981FF #FF7981 #81FF79
tetradic
#7981FF #FF79C4 #FFF779 #79FFB4
square
#7981FF #FF79C4 #FFF779 #79FFB4
split-complementary
#7981FF #FFB479 #C4FF79
monochromatic
#000FFE #3C47FF #7981FF #B6BBFF #E0E2FF

Accessibility & contrast

On white

3.28
#7981FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7981FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981FF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981FF#FFFFFF#000000##000000
##7981FF1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#3189FC
Tritanopia (blue-blind)
#3B9DB4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7981ff;
/* rgb */ color: rgb(121, 129, 255);
/* oklch */ color: oklch(65.8% 0.184 277.3);
Tailwind
colors: {
  custom: {
    50: '#a8a5ff',
    500: '#7981ff',
    950: '#000000',
  },
}
SCSS
$custom: #7981ff;
$custom-light: #a8a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7981ff",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 236.418,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6583,
    "c": 0.18376,
    "h": 277.3
  },
  "luminance": 0.26985
}

Semantic roles & 50–950 ramp

primary
#7981FF
secondary
#F7F5D4
accent
#D800E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7981FF

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

Preview Lab → · Contrast checker → · Palette generator →

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