#7971FA#7971FA

#7971FA is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.6% C 0.198 H 281.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7971FA
RGBrgb(121, 113, 250)
HSLhsl(244, 93%, 71%)
HSVhsv(244, 55%, 98%)
CMYKcmyk(51.6%, 54.8%, 0%, 2%)
CIE-LABlab(54.84, 38.98, -67.75)
CIE-LCHlch(54.84, 78.16, 299.91°)
OKLaboklab(62.65% 0.04 -0.1938)
OKLCHoklch(62.65% 0.198 281.7)
XYZxyz(31.0403, 22.7755, 93.1845)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971FA #F2FA71
analogous
#71ADFA #7971FA #BD71FA
triadic
#7971FA #FA7971 #71FA79
tetradic
#7971FA #FA71AD #F2FA71 #71FABD
square
#7971FA #FA71AD #F2FA71 #71FABD
split-complementary
#7971FA #FABD71 #ADFA71
monochromatic
#1508E8 #4136F8 #7971FA #B1ACFC #E3E1FE

Accessibility & contrast

On white

3.78
#7971FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7971FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971FA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971FA#FFFFFF#000000##000000
##7971FA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1488FF
Deuteranopia (green-blind)
#007EF7
Tritanopia (blue-blind)
#4390AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7971fa;
/* rgb */ color: rgb(121, 113, 250);
/* oklch */ color: oklch(62.6% 0.198 281.7);
Tailwind
colors: {
  custom: {
    50: '#a99afd',
    500: '#7971fa',
    950: '#000000',
  },
}
SCSS
$custom: #7971fa;
$custom-light: #a99afd;
$custom-dark: #000000;
JSON
{
  "hex": "#7971fa",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 243.504,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62647,
    "c": 0.19785,
    "h": 281.7
  },
  "luminance": 0.22777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7971FA

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

Preview Lab → · Contrast checker → · Palette generator →

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