#7982EA#7982EA

#7982EA is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.7% C 0.154 H 277.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7982EA
RGBrgb(121, 130, 234)
HSLhsl(235, 73%, 70%)
HSVhsv(235, 48%, 92%)
CMYKcmyk(48.3%, 44.4%, 0%, 8.2%)
CIE-LABlab(58.01, 24.12, -53.78)
CIE-LCHlch(58.01, 58.94, 294.15°)
OKLaboklab(64.72% 0.02 -0.1526)
OKLCHoklch(64.72% 0.154 277.5)
XYZxyz(30.7145, 25.9690, 81.2200)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982EA #EAE179
analogous
#79BBEA #7982EA #A979EA
triadic
#7982EA #EA7982 #82EA79
tetradic
#7982EA #EA79BB #EAE179 #79EAA9
square
#7982EA #EA79BB #EAE179 #79EAA9
split-complementary
#7982EA #EAA979 #BBEA79
monochromatic
#202DC9 #4451E2 #7982EA #AEB3F2 #E3E5FB

Accessibility & contrast

On white

3.39
#7982EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7982EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982EA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982EA#FFFFFF#000000##000000
##7982EA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#4E98AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7982ea;
/* rgb */ color: rgb(121, 130, 234);
/* oklch */ color: oklch(64.7% 0.154 277.5);
Tailwind
colors: {
  custom: {
    50: '#a6a6f1',
    500: '#7982ea',
    950: '#000000',
  },
}
SCSS
$custom: #7982ea;
$custom-light: #a6a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7982ea",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 235.221,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64722,
    "c": 0.15392,
    "h": 277.5
  },
  "luminance": 0.25971
}

Semantic roles & 50–950 ramp

primary
#7982EA
secondary
#F0EDCF
accent
#C511D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7982EA

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

Preview Lab → · Contrast checker → · Palette generator →

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