#7971EE#7971EE

#7971EE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.182 H 282.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7971EE
RGBrgb(121, 113, 238)
HSLhsl(244, 79%, 69%)
HSVhsv(244, 53%, 93%)
CMYKcmyk(49.2%, 52.5%, 0%, 6.7%)
CIE-LABlab(54.08, 35.40, -62.31)
CIE-LCHlch(54.08, 71.66, 299.60°)
OKLaboklab(61.83% 0.0396 -0.1778)
OKLCHoklch(61.83% 0.182 282.6)
XYZxyz(29.2182, 22.0467, 83.5882)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971EE #E6EE71
analogous
#71A8EE #7971EE #B871EE
triadic
#7971EE #EE7971 #71EE79
tetradic
#7971EE #EE71A8 #E6EE71 #71EEB8
square
#7971EE #EE71A8 #E6EE71 #71EEB8
split-complementary
#7971EE #EEB871 #A8EE71
monochromatic
#2418CC #453AE7 #7971EE #ADA8F5 #E0DEFB

Accessibility & contrast

On white

3.88
#7971EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7971EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971EE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971EE#FFFFFF#000000##000000
##7971EE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F2
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#4D8DA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7971ee;
/* rgb */ color: rgb(121, 113, 238);
/* oklch */ color: oklch(61.8% 0.182 282.6);
Tailwind
colors: {
  custom: {
    50: '#a79af4',
    500: '#7971ee',
    950: '#000000',
  },
}
SCSS
$custom: #7971ee;
$custom-light: #a79af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7971ee",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 243.84,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61835,
    "c": 0.18213,
    "h": 282.6
  },
  "luminance": 0.22048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7971EE

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

Preview Lab → · Contrast checker → · Palette generator →

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