#7982F8#7982F8

#7982F8 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.6% C 0.173 H 277.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7982F8
RGBrgb(121, 130, 248)
HSLhsl(236, 90%, 72%)
HSVhsv(236, 51%, 97%)
CMYKcmyk(51.2%, 47.6%, 0%, 2.7%)
CIE-LABlab(58.79, 28.34, -60.28)
CIE-LCHlch(58.79, 66.61, 295.18°)
OKLaboklab(65.57% 0.0217 -0.1717)
OKLCHoklch(65.57% 0.173 277.2)
XYZxyz(32.8057, 26.8055, 92.2341)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982F8 #F8EF79
analogous
#79C2F8 #7982F8 #B079F8
triadic
#7982F8 #F87982 #82F879
tetradic
#7982F8 #F879C2 #F8EF79 #79F8B0
square
#7982F8 #F879C2 #F8EF79 #79F8B0
split-complementary
#7982F8 #F8B079 #C2F879
monochromatic
#0C1CEA #3F4CF5 #7982F8 #B3B8FB #E2E4FD

Accessibility & contrast

On white

3.30
#7982F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7982F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982F8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982F8#FFFFFF#000000##000000
##7982F81.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#3E89F5
Tritanopia (blue-blind)
#429CB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7982f8;
/* rgb */ color: rgb(121, 130, 248);
/* oklch */ color: oklch(65.6% 0.173 277.2);
Tailwind
colors: {
  custom: {
    50: '#a7a6fb',
    500: '#7982f8',
    950: '#000000',
  },
}
SCSS
$custom: #7982f8;
$custom-light: #a7a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7982f8",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 235.748,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65573,
    "c": 0.17306,
    "h": 277.2
  },
  "luminance": 0.26808
}

Semantic roles & 50–950 ramp

primary
#7982F8
secondary
#F6F3D5
accent
#D500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7982F8

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

Preview Lab → · Contrast checker → · Palette generator →

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