#7981F9#7981F9

#7981F9 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.4% C 0.176 H 277.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7981F9
RGBrgb(121, 129, 249)
HSLhsl(236, 91%, 73%)
HSVhsv(236, 51%, 98%)
CMYKcmyk(51.4%, 48.2%, 0%, 2.4%)
CIE-LABlab(58.60, 29.24, -61.14)
CIE-LCHlch(58.60, 67.77, 295.56°)
OKLaboklab(65.45% 0.0229 -0.1742)
OKLCHoklch(65.45% 0.176 277.5)
XYZxyz(32.8289, 26.6030, 93.0092)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981F9 #F9F179
analogous
#79C1F9 #7981F9 #B179F9
triadic
#7981F9 #F97981 #81F979
tetradic
#7981F9 #F979C1 #F9F179 #79F9B1
square
#7981F9 #F979C1 #F9F179 #79F9B1
split-complementary
#7981F9 #F9B179 #C1F979
monochromatic
#0B19ED #3E4AF6 #7981F9 #B4B8FC #E2E3FE

Accessibility & contrast

On white

3.32
#7981F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7981F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981F9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981F9#FFFFFF#000000##000000
##7981F91.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#3B88F6
Tritanopia (blue-blind)
#429BB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7981f9;
/* rgb */ color: rgb(121, 129, 249);
/* oklch */ color: oklch(65.4% 0.176 277.5);
Tailwind
colors: {
  custom: {
    50: '#a8a5fc',
    500: '#7981f9',
    950: '#000000',
  },
}
SCSS
$custom: #7981f9;
$custom-light: #a8a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7981f9",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 236.25,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65449,
    "c": 0.17571,
    "h": 277.5
  },
  "luminance": 0.26605
}

Semantic roles & 50–950 ramp

primary
#7981F9
secondary
#F6F4D5
accent
#D700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7981F9

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

Preview Lab → · Contrast checker → · Palette generator →

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