#7971FC#7971FC

#7971FC is a light, highly saturated blue. Relative luminance 0.229; OKLCH L 62.8% C 0.200 H 281.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7971FC
RGBrgb(121, 113, 252)
HSLhsl(243, 96%, 72%)
HSVhsv(243, 55%, 99%)
CMYKcmyk(52%, 55.2%, 0%, 1.2%)
CIE-LABlab(54.97, 39.58, -68.64)
CIE-LCHlch(54.97, 79.23, 299.97°)
OKLaboklab(62.79% 0.0401 -0.1964)
OKLCHoklch(62.79% 0.2 281.5)
XYZxyz(31.3556, 22.9016, 94.8448)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971FC #F4FC71
analogous
#71AFFC #7971FC #BF71FC
triadic
#7971FC #FC7971 #71FC79
tetradic
#7971FC #FC71AF #F4FC71 #71FCBF
square
#7971FC #FC71AF #F4FC71 #71FCBF
split-complementary
#7971FC #FCBF71 #AFFC71
monochromatic
#1205EE #4035FB #7971FC #B2ADFD #E3E1FE

Accessibility & contrast

On white

3.76
#7971FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7971FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971FC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971FC#FFFFFF#000000##000000
##7971FC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B89FF
Deuteranopia (green-blind)
#007FF9
Tritanopia (blue-blind)
#4191AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7971fc;
/* rgb */ color: rgb(121, 113, 252);
/* oklch */ color: oklch(62.8% 0.200 281.5);
Tailwind
colors: {
  custom: {
    50: '#a99afe',
    500: '#7971fc',
    950: '#000000',
  },
}
SCSS
$custom: #7971fc;
$custom-light: #a99afe;
$custom-dark: #000000;
JSON
{
  "hex": "#7971fc",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 243.453,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.62786,
    "c": 0.20044,
    "h": 281.5
  },
  "luminance": 0.22903
}

Semantic roles & 50–950 ramp

primary
#7971FC
secondary
#F4F6D3
accent
#E600D8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7971FC

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

Preview Lab → · Contrast checker → · Palette generator →

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