#7971F2#7971F2

#7971F2 is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.1% C 0.187 H 282.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7971F2
RGBrgb(121, 113, 242)
HSLhsl(244, 83%, 70%)
HSVhsv(244, 53%, 95%)
CMYKcmyk(50%, 53.3%, 0%, 5.1%)
CIE-LABlab(54.33, 36.59, -64.13)
CIE-LCHlch(54.33, 73.83, 299.70°)
OKLaboklab(62.1% 0.0398 -0.1831)
OKLCHoklch(62.1% 0.187 282.3)
XYZxyz(29.8124, 22.2844, 86.7176)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971F2 #EAF271
analogous
#71AAF2 #7971F2 #BA71F2
triadic
#7971F2 #F27971 #71F279
tetradic
#7971F2 #F271AA #EAF271 #71F2BA
square
#7971F2 #F271AA #EAF271 #71F2BA
split-complementary
#7971F2 #F2BA71 #AAF271
monochromatic
#2014D5 #4439ED #7971F2 #AEA9F7 #E3E1FC

Accessibility & contrast

On white

3.85
#7971F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7971F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971F2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971F2#FFFFFF#000000##000000
##7971F21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2886F6
Deuteranopia (green-blind)
#197DEF
Tritanopia (blue-blind)
#4A8EA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7971f2;
/* rgb */ color: rgb(121, 113, 242);
/* oklch */ color: oklch(62.1% 0.187 282.3);
Tailwind
colors: {
  custom: {
    50: '#a89af7',
    500: '#7971f2',
    950: '#000000',
  },
}
SCSS
$custom: #7971f2;
$custom-light: #a89af7;
$custom-dark: #000000;
JSON
{
  "hex": "#7971f2",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 243.721,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.1874,
    "h": 282.3
  },
  "luminance": 0.22286
}

Semantic roles & 50–950 ramp

primary
#7971F2
secondary
#F0F2CD
accent
#E006D2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7971F2

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

Preview Lab → · Contrast checker → · Palette generator →

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