#7982F2#7982F2

#7982F2 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.2% C 0.165 H 277.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7982F2
RGBrgb(121, 130, 242)
HSLhsl(236, 82%, 71%)
HSVhsv(236, 50%, 95%)
CMYKcmyk(50%, 46.3%, 0%, 5.1%)
CIE-LABlab(58.45, 26.52, -57.51)
CIE-LCHlch(58.45, 63.34, 294.76°)
OKLaboklab(65.2% 0.021 -0.1636)
OKLCHoklch(65.2% 0.165 277.3)
XYZxyz(31.8898, 26.4391, 87.4101)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982F2 #F2E979
analogous
#79BEF2 #7982F2 #AC79F2
triadic
#7982F2 #F27982 #82F279
tetradic
#7982F2 #F279BE #F2E979 #79F2AC
square
#7982F2 #F279BE #F2E979 #79F2AC
split-complementary
#7982F2 #F2AC79 #BEF279
monochromatic
#1524DB #414EED #7982F2 #B1B6F7 #E3E5FC

Accessibility & contrast

On white

3.34
#7982F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7982F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982F2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982F2#FFFFFF#000000##000000
##7982F21.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#4588F0
Tritanopia (blue-blind)
#489AAE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7982f2;
/* rgb */ color: rgb(121, 130, 242);
/* oklch */ color: oklch(65.2% 0.165 277.3);
Tailwind
colors: {
  custom: {
    50: '#a7a6f7',
    500: '#7982f2',
    950: '#000000',
  },
}
SCSS
$custom: #7982f2;
$custom-light: #a7a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7982f2",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 235.537,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65203,
    "c": 0.16491,
    "h": 277.3
  },
  "luminance": 0.26441
}

Semantic roles & 50–950 ramp

primary
#7982F2
secondary
#F3F1D3
accent
#CF07DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7982F2

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

Preview Lab → · Contrast checker → · Palette generator →

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