#7982F7#7982F7

#7982F7 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.5% C 0.172 H 277.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7982F7
RGBrgb(121, 130, 247)
HSLhsl(236, 89%, 72%)
HSVhsv(236, 51%, 97%)
CMYKcmyk(51%, 47.4%, 0%, 3.1%)
CIE-LABlab(58.74, 28.04, -59.82)
CIE-LCHlch(58.74, 66.07, 295.11°)
OKLaboklab(65.51% 0.0216 -0.1703)
OKLCHoklch(65.51% 0.172 277.2)
XYZxyz(32.6510, 26.7436, 91.4192)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7982F7 #F7EE79
analogous
#79C1F7 #7982F7 #AF79F7
triadic
#7982F7 #F77982 #82F779
tetradic
#7982F7 #F779C1 #F7EE79 #79F7AF
square
#7982F7 #F779C1 #F7EE79 #79F7AF
split-complementary
#7982F7 #F7AF79 #C1F779
monochromatic
#0E1DE8 #3F4CF4 #7982F7 #B3B8FA #E2E4FD

Accessibility & contrast

On white

3.31
#7982F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7982F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7982F7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7982F7#FFFFFF#000000##000000
##7982F71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#439BB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7982f7;
/* rgb */ color: rgb(121, 130, 247);
/* oklch */ color: oklch(65.5% 0.172 277.2);
Tailwind
colors: {
  custom: {
    50: '#a7a6fa',
    500: '#7982f7',
    950: '#000000',
  },
}
SCSS
$custom: #7982f7;
$custom-light: #a7a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7982f7",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 235.714,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65511,
    "c": 0.17171,
    "h": 277.2
  },
  "luminance": 0.26746
}

Semantic roles & 50–950 ramp

primary
#7982F7
secondary
#F5F3D6
accent
#D500E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7982F7

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

Preview Lab → · Contrast checker → · Palette generator →

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