#7972BB#7972BB

#7972BB is a mid, moderate blue. Relative luminance 0.197; OKLCH L 59.0% C 0.110 H 286.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7972BB
RGBrgb(121, 114, 187)
HSLhsl(246, 35%, 59%)
HSVhsv(246, 39%, 73%)
CMYKcmyk(35.3%, 39%, 0%, 26.7%)
CIE-LABlab(51.48, 20.12, -37.54)
CIE-LCHlch(51.48, 42.59, 298.19°)
OKLaboklab(58.96% 0.032 -0.1052)
OKLCHoklch(58.96% 0.11 286.9)
XYZxyz(22.8697, 19.6868, 49.5991)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972BB #B4BB72
analogous
#7290BB #7972BB #9E72BB
triadic
#7972BB #BB7972 #72BB79
tetradic
#7972BB #BB7290 #B4BB72 #72BB9E
square
#7972BB #BB7290 #B4BB72 #72BB9E
split-complementary
#7972BB #BB9E72 #90BB72
monochromatic
#403A78 #564EA2 #7972BB #A09BCF #C7C5E3

Accessibility & contrast

On white

4.25
#7972BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7972BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972BB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972BB#FFFFFF#000000##000000
##7972BB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBE
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#68808D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7972bb;
/* rgb */ color: rgb(121, 114, 187);
/* oklch */ color: oklch(59.0% 0.110 286.9);
Tailwind
colors: {
  custom: {
    50: '#a29ad0',
    500: '#7972bb',
    950: '#000000',
  },
}
SCSS
$custom: #7972bb;
$custom-light: #a29ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7972bb",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 245.753,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.11,
    "h": 286.9
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#7972BB
secondary
#D0D3B6
accent
#CB5DC0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7972BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7972BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva