#7971DE#7971DE

#7971DE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.8% C 0.161 H 283.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7971DE
RGBrgb(121, 113, 222)
HSLhsl(244, 62%, 66%)
HSVhsv(244, 49%, 87%)
CMYKcmyk(45.5%, 49.1%, 0%, 12.9%)
CIE-LABlab(53.11, 30.67, -54.89)
CIE-LCHlch(53.11, 62.88, 299.20°)
OKLaboklab(60.8% 0.0385 -0.156)
OKLCHoklch(60.8% 0.161 283.9)
XYZxyz(26.9712, 21.1479, 71.7539)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971DE #D6DE71
analogous
#719FDE #7971DE #B071DE
triadic
#7971DE #DE7971 #71DE79
tetradic
#7971DE #DE719F #D6DE71 #71DEB0
square
#7971DE #DE719F #D6DE71 #71DEB0
split-complementary
#7971DE #DEB071 #9FDE71
monochromatic
#3228AD #4A3FD2 #7971DE #A8A3EA #D7D4F5

Accessibility & contrast

On white

4.02
#7971DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7971DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971DE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971DE#FFFFFF#000000##000000
##7971DE1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E2
Deuteranopia (green-blind)
#3C7BDC
Tritanopia (blue-blind)
#58889D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7971de;
/* rgb */ color: rgb(121, 113, 222);
/* oklch */ color: oklch(60.8% 0.161 283.9);
Tailwind
colors: {
  custom: {
    50: '#a59ae9',
    500: '#7971de',
    950: '#000000',
  },
}
SCSS
$custom: #7971de;
$custom-light: #a59ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#7971de",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 244.404,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.16063,
    "h": 283.9
  },
  "luminance": 0.21149
}

Semantic roles & 50–950 ramp

primary
#7971DE
secondary
#E5E8C3
accent
#CA1BBD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7971DE

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

Preview Lab → · Contrast checker → · Palette generator →

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