#7971F6#7971F6

#7971F6 is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.4% C 0.193 H 282.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7971F6
RGBrgb(121, 113, 246)
HSLhsl(244, 88%, 70%)
HSVhsv(244, 54%, 96%)
CMYKcmyk(50.8%, 54.1%, 0%, 3.5%)
CIE-LABlab(54.58, 37.78, -65.95)
CIE-LCHlch(54.58, 76.00, 299.81°)
OKLaboklab(62.37% 0.0399 -0.1885)
OKLCHoklch(62.37% 0.193 282)
XYZxyz(30.4198, 22.5273, 89.9162)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971F6 #EEF671
analogous
#71ABF6 #7971F6 #BB71F6
triadic
#7971F6 #F67971 #71F679
tetradic
#7971F6 #F671AB #EEF671 #71F6BB
square
#7971F6 #F671AB #EEF671 #71F6BB
split-complementary
#7971F6 #F6BB71 #ABF671
monochromatic
#1B0EDE #4337F2 #7971F6 #AFABFA #E4E2FD

Accessibility & contrast

On white

3.81
#7971F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7971F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971F6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971F6#FFFFFF#000000##000000
##7971F61.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2087FB
Deuteranopia (green-blind)
#077EF3
Tritanopia (blue-blind)
#478FA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7971f6;
/* rgb */ color: rgb(121, 113, 246);
/* oklch */ color: oklch(62.4% 0.193 282.0);
Tailwind
colors: {
  custom: {
    50: '#a89afa',
    500: '#7971f6',
    950: '#000000',
  },
}
SCSS
$custom: #7971f6;
$custom-light: #a89afa;
$custom-dark: #000000;
JSON
{
  "hex": "#7971f6",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 243.609,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62373,
    "c": 0.19265,
    "h": 282
  },
  "luminance": 0.22529
}

Semantic roles & 50–950 ramp

primary
#7971F6
secondary
#F1F4CF
accent
#E501D7
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7971F6

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

Preview Lab → · Contrast checker → · Palette generator →

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