#7982FE#7982FE

#7982FE is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.0% C 0.181 H 277.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7982FE
RGBrgb(121, 130, 254)
HSLhsl(236, 99%, 74%)
HSVhsv(236, 52%, 100%)
CMYKcmyk(52.4%, 48.8%, 0%, 0.4%)
CIE-LABlab(59.14, 30.17, -63.03)
CIE-LCHlch(59.14, 69.88, 295.58°)
OKLaboklab(65.95% 0.0223 -0.1798)
OKLCHoklch(65.95% 0.181 277.1)
XYZxyz(33.7515, 27.1838, 97.2152)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982FE #FEF579
analogous
#79C4FE #7982FE #B279FE
triadic
#7982FE #FE7982 #82FE79
tetradic
#7982FE #FE79C4 #FEF579 #79FEB2
square
#7982FE #FE79C4 #FEF579 #79FEB2
split-complementary
#7982FE #FEB279 #C4FE79
monochromatic
#0213FB #3C49FE #7982FE #B6BBFE #E1E3FF

Accessibility & contrast

On white

3.26
#7982FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#7982FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982FE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982FE#FFFFFF#000000##000000
##7982FE1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#3689FB
Tritanopia (blue-blind)
#3C9DB4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7982fe;
/* rgb */ color: rgb(121, 130, 254);
/* oklch */ color: oklch(66.0% 0.181 277.1);
Tailwind
colors: {
  custom: {
    50: '#a8a6ff',
    500: '#7982fe',
    950: '#000000',
  },
}
SCSS
$custom: #7982fe;
$custom-light: #a8a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7982fe",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 235.94,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6595,
    "c": 0.18114,
    "h": 277.1
  },
  "luminance": 0.27186
}

Semantic roles & 50–950 ramp

primary
#7982FE
secondary
#F7F5D4
accent
#D600E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7982FE

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

Preview Lab → · Contrast checker → · Palette generator →

#7982FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva