#7986F7#7986F7

#7986F7 is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.3% C 0.167 H 275.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7986F7
RGBrgb(121, 134, 247)
HSLhsl(234, 89%, 72%)
HSVhsv(234, 51%, 97%)
CMYKcmyk(51%, 45.7%, 0%, 3.1%)
CIE-LABlab(59.73, 25.67, -58.23)
CIE-LCHlch(59.73, 63.63, 293.79°)
OKLaboklab(66.27% 0.0172 -0.1656)
OKLCHoklch(66.27% 0.167 275.9)
XYZxyz(33.1935, 27.8285, 91.6000)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986F7 #F7EA79
analogous
#79C5F7 #7986F7 #AB79F7
triadic
#7986F7 #F77986 #86F779
tetradic
#7986F7 #F779C5 #F7EA79 #79F7AB
square
#7986F7 #F779C5 #F7EA79 #79F7AB
split-complementary
#7986F7 #F7AB79 #C5F779
monochromatic
#0E24E8 #3F52F4 #7986F7 #B3BAFA #E2E5FD

Accessibility & contrast

On white

3.20
#7986F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#7986F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986F7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986F7#FFFFFF#000000##000000
##7986F71.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#439EB3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7986f7;
/* rgb */ color: rgb(121, 134, 247);
/* oklch */ color: oklch(66.3% 0.167 275.9);
Tailwind
colors: {
  custom: {
    50: '#a7a9fa',
    500: '#7986f7',
    950: '#000000',
  },
}
SCSS
$custom: #7986f7;
$custom-light: #a7a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7986f7",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 233.81,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.16652,
    "h": 275.9
  },
  "luminance": 0.27831
}

Semantic roles & 50–950 ramp

primary
#7986F7
secondary
#F5F2D6
accent
#CE00E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7986F7

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

Preview Lab → · Contrast checker → · Palette generator →

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