#7982FB#7982FB

#7982FB is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.8% C 0.177 H 277.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7982FB
RGBrgb(121, 130, 251)
HSLhsl(236, 94%, 73%)
HSVhsv(236, 52%, 98%)
CMYKcmyk(51.8%, 48.2%, 0%, 1.6%)
CIE-LABlab(58.97, 29.26, -61.66)
CIE-LCHlch(58.97, 68.25, 295.38°)
OKLaboklab(65.76% 0.0221 -0.1757)
OKLCHoklch(65.76% 0.177 277.2)
XYZxyz(33.2749, 26.9932, 94.7049)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982FB #FBF279
analogous
#79C3FB #7982FB #B179FB
triadic
#7982FB #FB7982 #82FB79
tetradic
#7982FB #FB79C3 #FBF279 #79FBB1
square
#7982FB #FB79C3 #FBF279 #79FBB1
split-complementary
#7982FB #FBB179 #C3FB79
monochromatic
#0718F2 #3E4BF9 #7982FB #B4B9FD #E1E3FE

Accessibility & contrast

On white

3.28
#7982FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7982FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982FB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982FB#FFFFFF#000000##000000
##7982FB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#3A89F8
Tritanopia (blue-blind)
#3F9DB3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7982fb;
/* rgb */ color: rgb(121, 130, 251);
/* oklch */ color: oklch(65.8% 0.177 277.2);
Tailwind
colors: {
  custom: {
    50: '#a8a6fd',
    500: '#7982fb',
    950: '#000000',
  },
}
SCSS
$custom: #7982fb;
$custom-light: #a8a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7982fb",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 235.846,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6576,
    "c": 0.17711,
    "h": 277.2
  },
  "luminance": 0.26995
}

Semantic roles & 50–950 ramp

primary
#7982FB
secondary
#F6F4D5
accent
#D600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7982FB

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

Preview Lab → · Contrast checker → · Palette generator →

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