#7971BC#7971BC

#7971BC is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.8% C 0.113 H 287.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7971BC
RGBrgb(121, 113, 188)
HSLhsl(246, 36%, 59%)
HSVhsv(246, 40%, 74%)
CMYKcmyk(35.6%, 39.9%, 0%, 26.3%)
CIE-LABlab(51.27, 21.00, -38.44)
CIE-LCHlch(51.27, 43.80, 298.64°)
OKLaboklab(58.81% 0.0336 -0.1079)
OKLCHoklch(58.81% 0.113 287.3)
XYZxyz(22.8649, 19.5054, 50.1274)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971BC #B4BC71
analogous
#718FBC #7971BC #9F71BC
triadic
#7971BC #BC7971 #71BC79
tetradic
#7971BC #BC718F #B4BC71 #71BC9F
square
#7971BC #BC718F #B4BC71 #71BC9F
split-complementary
#7971BC #BC9F71 #8FBC71
monochromatic
#403979 #564DA3 #7971BC #A09BD0 #C7C4E3

Accessibility & contrast

On white

4.28
#7971BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7971BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971BC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971BC#FFFFFF#000000##000000
##7971BC1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#687F8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7971bc;
/* rgb */ color: rgb(121, 113, 188);
/* oklch */ color: oklch(58.8% 0.113 287.3);
Tailwind
colors: {
  custom: {
    50: '#a299d0',
    500: '#7971bc',
    950: '#000000',
  },
}
SCSS
$custom: #7971bc;
$custom-light: #a299d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7971bc",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 246.4,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.11297,
    "h": 287.3
  },
  "luminance": 0.19506
}

Semantic roles & 50–950 ramp

primary
#7971BC
secondary
#D0D3B6
accent
#CC5CC0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7971BC

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

Preview Lab → · Contrast checker → · Palette generator →

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