#7982DC#7982DC

#7982DC is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.9% C 0.134 H 277.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7982DC
RGBrgb(121, 130, 220)
HSLhsl(235, 59%, 67%)
HSVhsv(235, 45%, 86%)
CMYKcmyk(45%, 40.9%, 0%, 13.7%)
CIE-LABlab(57.27, 19.96, -47.15)
CIE-LCHlch(57.27, 51.20, 292.95°)
OKLaboklab(63.92% 0.0177 -0.1332)
OKLCHoklch(63.92% 0.134 277.6)
XYZxyz(28.7821, 25.1961, 71.0430)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982DC #DCD379
analogous
#79B4DC #7982DC #A179DC
triadic
#7982DC #DC7982 #82DC79
tetradic
#7982DC #DC79B4 #DCD379 #79DCA1
square
#7982DC #DC79B4 #DCD379 #79DCA1
split-complementary
#7982DC #DCA179 #B4DC79
monochromatic
#2D39AD #4855CF #7982DC #AAAFE9 #DADDF5

Accessibility & contrast

On white

3.48
#7982DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7982DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982DC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982DC#FFFFFF#000000##000000
##7982DC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDF
Deuteranopia (green-blind)
#5986DA
Tritanopia (blue-blind)
#5795A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7982dc;
/* rgb */ color: rgb(121, 130, 220);
/* oklch */ color: oklch(63.9% 0.134 277.6);
Tailwind
colors: {
  custom: {
    50: '#a4a6e7',
    500: '#7982dc',
    950: '#000000',
  },
}
SCSS
$custom: #7982dc;
$custom-light: #a4a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7982dc",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 234.545,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.13436,
    "h": 277.6
  },
  "luminance": 0.25198
}

Semantic roles & 50–950 ramp

primary
#7982DC
secondary
#E8E5C9
accent
#B71FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7982DC

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

Preview Lab → · Contrast checker → · Palette generator →

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