#7972BC#7972BC

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

Color values

HEX#7972BC
RGBrgb(121, 114, 188)
HSLhsl(246, 36%, 59%)
HSVhsv(246, 39%, 74%)
CMYKcmyk(35.6%, 39.4%, 0%, 26.3%)
CIE-LABlab(51.53, 20.40, -38.04)
CIE-LCHlch(51.53, 43.16, 298.20°)
OKLaboklab(59.01% 0.0322 -0.1067)
OKLCHoklch(59.01% 0.111 286.8)
XYZxyz(22.9771, 19.7297, 50.1648)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972BC #B5BC72
analogous
#7290BC #7972BC #9E72BC
triadic
#7972BC #BC7972 #72BC79
tetradic
#7972BC #BC7290 #B5BC72 #72BC9E
square
#7972BC #BC7290 #B5BC72 #72BC9E
split-complementary
#7972BC #BC9E72 #90BC72
monochromatic
#403A7A #564EA3 #7972BC #A09BD0 #C8C5E3

Accessibility & contrast

On white

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

On black

4.95
#7972BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972BC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972BC#FFFFFF#000000##000000
##7972BC1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#68808E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7972bc;
/* rgb */ color: rgb(121, 114, 188);
/* oklch */ color: oklch(59.0% 0.111 286.8);
Tailwind
colors: {
  custom: {
    50: '#a29ad0',
    500: '#7972bc',
    950: '#000000',
  },
}
SCSS
$custom: #7972bc;
$custom-light: #a29ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7972bc",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 245.676,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.11145,
    "h": 286.8
  },
  "luminance": 0.1973
}

Semantic roles & 50–950 ramp

primary
#7972BC
secondary
#D1D3B6
accent
#CC5CC1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7972BC

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

Preview Lab → · Contrast checker → · Palette generator →

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