#7972BD#7972BD

#7972BD is a mid, moderate blue. Relative luminance 0.198; OKLCH L 59.1% C 0.113 H 286.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7972BD
RGBrgb(121, 114, 189)
HSLhsl(246, 36%, 59%)
HSVhsv(246, 40%, 74%)
CMYKcmyk(36%, 39.7%, 0%, 25.9%)
CIE-LABlab(51.58, 20.67, -38.54)
CIE-LCHlch(51.58, 43.73, 298.21°)
OKLaboklab(59.06% 0.0324 -0.1081)
OKLCHoklch(59.06% 0.113 286.7)
XYZxyz(23.0853, 19.7730, 50.7345)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972BD #B6BD72
analogous
#7291BD #7972BD #9F72BD
triadic
#7972BD #BD7972 #72BD79
tetradic
#7972BD #BD7291 #B6BD72 #72BD9F
square
#7972BD #BD7291 #B6BD72 #72BD9F
split-complementary
#7972BD #BD9F72 #91BD72
monochromatic
#403A7B #554DA5 #7972BD #A19CD1 #C8C5E4

Accessibility & contrast

On white

4.24
#7972BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7972BD#FFFFFF#000000##000000
##7972BD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#67808E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7972bd;
/* rgb */ color: rgb(121, 114, 189);
/* oklch */ color: oklch(59.1% 0.113 286.7);
Tailwind
colors: {
  custom: {
    50: '#a29ad1',
    500: '#7972bd',
    950: '#000000',
  },
}
SCSS
$custom: #7972bd;
$custom-light: #a29ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7972bd",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 245.6,
    "s": 36.232,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.11289,
    "h": 286.7
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#7972BD
secondary
#D1D4B7
accent
#CC5CC2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7972BD

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

Preview Lab → · Contrast checker → · Palette generator →

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