#7971F0#7971F0

#7971F0 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 62.0% C 0.185 H 282.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7971F0
RGBrgb(121, 113, 240)
HSLhsl(244, 81%, 69%)
HSVhsv(244, 53%, 94%)
CMYKcmyk(49.6%, 52.9%, 0%, 5.9%)
CIE-LABlab(54.20, 35.99, -63.22)
CIE-LCHlch(54.20, 72.75, 299.65°)
OKLaboklab(61.97% 0.0397 -0.1804)
OKLCHoklch(61.97% 0.185 282.4)
XYZxyz(29.5137, 22.1649, 85.1443)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971F0 #E8F071
analogous
#71A8F0 #7971F0 #B971F0
triadic
#7971F0 #F07971 #71F079
tetradic
#7971F0 #F071A8 #E8F071 #71F0B9
square
#7971F0 #F071A8 #E8F071 #71F0B9
split-complementary
#7971F0 #F0B971 #A8F071
monochromatic
#2216D1 #453AEA #7971F0 #ADA8F6 #E1E0FC

Accessibility & contrast

On white

3.87
#7971F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7971F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971F0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971F0#FFFFFF#000000##000000
##7971F01.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B86F4
Deuteranopia (green-blind)
#1F7DED
Tritanopia (blue-blind)
#4C8DA6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7971f0;
/* rgb */ color: rgb(121, 113, 240);
/* oklch */ color: oklch(62.0% 0.185 282.4);
Tailwind
colors: {
  custom: {
    50: '#a79af6',
    500: '#7971f0',
    950: '#000000',
  },
}
SCSS
$custom: #7971f0;
$custom-light: #a79af6;
$custom-dark: #000000;
JSON
{
  "hex": "#7971f0",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 243.78,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.18477,
    "h": 282.4
  },
  "luminance": 0.22166
}

Semantic roles & 50–950 ramp

primary
#7971F0
secondary
#EFF1CC
accent
#DD08D0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7971F0

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

Preview Lab → · Contrast checker → · Palette generator →

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