#7971F8#7971F8

#7971F8 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.5% C 0.195 H 281.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7971F8
RGBrgb(121, 113, 248)
HSLhsl(244, 91%, 71%)
HSVhsv(244, 54%, 97%)
CMYKcmyk(51.2%, 54.4%, 0%, 2.7%)
CIE-LABlab(54.71, 38.38, -66.85)
CIE-LCHlch(54.71, 77.08, 299.86°)
OKLaboklab(62.51% 0.04 -0.1911)
OKLCHoklch(62.51% 0.195 281.8)
XYZxyz(30.7284, 22.6508, 91.5416)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971F8 #F0F871
analogous
#71ACF8 #7971F8 #BD71F8
triadic
#7971F8 #F87971 #71F879
tetradic
#7971F8 #F871AC #F0F871 #71F8BD
square
#7971F8 #F871AC #F0F871 #71F8BD
split-complementary
#7971F8 #F8BD71 #ACF871
monochromatic
#180BE3 #4237F5 #7971F8 #B0ABFB #E3E2FE

Accessibility & contrast

On white

3.80
#7971F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7971F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971F8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971F8#FFFFFF#000000##000000
##7971F81.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A88FD
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#4590AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7971f8;
/* rgb */ color: rgb(121, 113, 248);
/* oklch */ color: oklch(62.5% 0.195 281.8);
Tailwind
colors: {
  custom: {
    50: '#a89afb',
    500: '#7971f8',
    950: '#000000',
  },
}
SCSS
$custom: #7971f8;
$custom-light: #a89afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7971f8",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 243.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6251,
    "c": 0.19526,
    "h": 281.8
  },
  "luminance": 0.22653
}

Semantic roles & 50–950 ramp

primary
#7971F8
secondary
#F2F5D0
accent
#E600D8
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7971F8

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

Preview Lab → · Contrast checker → · Palette generator →

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