#7981FA#7981FA

#7981FA is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.5% C 0.177 H 277.5°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7981FA
RGBrgb(121, 129, 250)
HSLhsl(236, 93%, 73%)
HSVhsv(236, 52%, 98%)
CMYKcmyk(51.6%, 48.4%, 0%, 2%)
CIE-LABlab(58.66, 29.54, -61.59)
CIE-LCHlch(58.66, 68.31, 295.63°)
OKLaboklab(65.51% 0.023 -0.1756)
OKLCHoklch(65.51% 0.177 277.5)
XYZxyz(32.9853, 26.6655, 93.8328)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981FA #FAF279
analogous
#79C1FA #7981FA #B179FA
triadic
#7981FA #FA7981 #81FA79
tetradic
#7981FA #FA79C1 #FAF279 #79FAB1
square
#7981FA #FA79C1 #FAF279 #79FAB1
split-complementary
#7981FA #FAB179 #C1FA79
monochromatic
#0917F0 #3E4AF8 #7981FA #B4B8FC #E2E3FE

Accessibility & contrast

On white

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

On black

6.33
#7981FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981FA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981FA#FFFFFF#000000##000000
##7981FA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FE
Deuteranopia (green-blind)
#3988F7
Tritanopia (blue-blind)
#419CB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7981fa;
/* rgb */ color: rgb(121, 129, 250);
/* oklch */ color: oklch(65.5% 0.177 277.5);
Tailwind
colors: {
  custom: {
    50: '#a8a5fd',
    500: '#7981fa',
    950: '#000000',
  },
}
SCSS
$custom: #7981fa;
$custom-light: #a8a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7981fa",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 236.279,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65512,
    "c": 0.17706,
    "h": 277.5
  },
  "luminance": 0.26668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7981FA

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

Preview Lab → · Contrast checker → · Palette generator →

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