#7982EC#7982EC

#7982EC is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.8% C 0.157 H 277.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7982EC
RGBrgb(121, 130, 236)
HSLhsl(235, 75%, 70%)
HSVhsv(235, 49%, 93%)
CMYKcmyk(48.7%, 44.9%, 0%, 7.5%)
CIE-LABlab(58.12, 24.72, -54.72)
CIE-LCHlch(58.12, 60.04, 294.31°)
OKLaboklab(64.84% 0.0203 -0.1554)
OKLCHoklch(64.84% 0.157 277.4)
XYZxyz(31.0034, 26.0846, 82.7418)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982EC #ECE379
analogous
#79BCEC #7982EC #A979EC
triadic
#7982EC #EC7982 #82EC79
tetradic
#7982EC #EC79BC #ECE379 #79ECA9
square
#7982EC #EC79BC #ECE379 #79ECA9
split-complementary
#7982EC #ECA979 #BCEC79
monochromatic
#1D2BCD #4350E4 #7982EC #AFB4F4 #E4E6FB

Accessibility & contrast

On white

3.38
#7982EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7982EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982EC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982EC#FFFFFF#000000##000000
##7982EC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690F0
Deuteranopia (green-blind)
#4B87EA
Tritanopia (blue-blind)
#4C99AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7982ec;
/* rgb */ color: rgb(121, 130, 236);
/* oklch */ color: oklch(64.8% 0.157 277.4);
Tailwind
colors: {
  custom: {
    50: '#a6a6f3',
    500: '#7982ec',
    950: '#000000',
  },
}
SCSS
$custom: #7982ec;
$custom-light: #a6a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7982ec",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 235.304,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.15668,
    "h": 277.4
  },
  "luminance": 0.26086
}

Semantic roles & 50–950 ramp

primary
#7982EC
secondary
#F0EED0
accent
#C80ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7982EC

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

Preview Lab → · Contrast checker → · Palette generator →

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