#7971EF#7971EF

#7971EF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.9% C 0.183 H 282.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7971EF
RGBrgb(121, 113, 239)
HSLhsl(244, 80%, 69%)
HSVhsv(244, 53%, 94%)
CMYKcmyk(49.4%, 52.7%, 0%, 6.3%)
CIE-LABlab(54.14, 35.69, -62.77)
CIE-LCHlch(54.14, 72.20, 299.63°)
OKLaboklab(61.9% 0.0397 -0.1791)
OKLCHoklch(61.9% 0.183 282.5)
XYZxyz(29.3656, 22.1056, 84.3641)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971EF #E7EF71
analogous
#71A8EF #7971EF #B871EF
triadic
#7971EF #EF7971 #71EF79
tetradic
#7971EF #EF71A8 #E7EF71 #71EFB8
square
#7971EF #EF71A8 #E7EF71 #71EFB8
split-complementary
#7971EF #EFB871 #A8EF71
monochromatic
#2317CE #453AE9 #7971EF #ADA8F5 #E1DFFB

Accessibility & contrast

On white

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

On black

5.42
#7971EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971EF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971EF#FFFFFF#000000##000000
##7971EF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#217DEC
Tritanopia (blue-blind)
#4C8DA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7971ef;
/* rgb */ color: rgb(121, 113, 239);
/* oklch */ color: oklch(61.9% 0.183 282.5);
Tailwind
colors: {
  custom: {
    50: '#a79af5',
    500: '#7971ef',
    950: '#000000',
  },
}
SCSS
$custom: #7971ef;
$custom-light: #a79af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7971ef",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 243.81,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61901,
    "c": 0.18345,
    "h": 282.5
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

primary
#7971EF
secondary
#EEF0CB
accent
#DC09CF
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7971EF

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

Preview Lab → · Contrast checker → · Palette generator →

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