#7971FE#7971FE

#7971FE is a light, highly saturated blue. Relative luminance 0.230; OKLCH L 62.9% C 0.203 H 281.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7971FE
RGBrgb(121, 113, 254)
HSLhsl(243, 99%, 72%)
HSVhsv(243, 56%, 100%)
CMYKcmyk(52.4%, 55.5%, 0%, 0.4%)
CIE-LABlab(55.10, 40.18, -69.54)
CIE-LCHlch(55.10, 80.31, 300.02°)
OKLaboklab(62.93% 0.0401 -0.199)
OKLCHoklch(62.93% 0.203 281.4)
XYZxyz(31.6742, 23.0291, 96.5227)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971FE #F6FE71
analogous
#71B0FE #7971FE #BF71FE
triadic
#7971FE #FE7971 #71FE79
tetradic
#7971FE #FE71B0 #F6FE71 #71FEBF
square
#7971FE #FE71B0 #F6FE71 #71FEBF
split-complementary
#7971FE #FEBF71 #B0FE71
monochromatic
#0F02F3 #4034FE #7971FE #B2AEFE #E2E1FF

Accessibility & contrast

On white

3.75
#7971FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7971FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971FE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971FE#FFFFFF#000000##000000
##7971FE1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#3F91AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7971fe;
/* rgb */ color: rgb(121, 113, 254);
/* oklch */ color: oklch(62.9% 0.203 281.4);
Tailwind
colors: {
  custom: {
    50: '#a99aff',
    500: '#7971fe',
    950: '#000000',
  },
}
SCSS
$custom: #7971fe;
$custom-light: #a99aff;
$custom-dark: #000000;
JSON
{
  "hex": "#7971fe",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 243.404,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.20303,
    "h": 281.4
  },
  "luminance": 0.23031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7971FE

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

Preview Lab → · Contrast checker → · Palette generator →

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