#7972AA#7972AA

#7972AA is a mid, moderate blue. Relative luminance 0.190; OKLCH L 58.1% C 0.085 H 289.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7972AA
RGBrgb(121, 114, 170)
HSLhsl(248, 25%, 56%)
HSVhsv(248, 33%, 67%)
CMYKcmyk(28.8%, 32.9%, 0%, 33.3%)
CIE-LABlab(50.69, 15.57, -28.94)
CIE-LCHlch(50.69, 32.86, 298.27°)
OKLaboklab(58.09% 0.028 -0.0804)
OKLCHoklch(58.09% 0.085 289.2)
XYZxyz(21.1563, 19.0014, 40.5754)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972AA #A3AA72
analogous
#7287AA #7972AA #9572AA
triadic
#7972AA #AA7972 #72AA79
tetradic
#7972AA #AA7287 #A3AA72 #72AA95
square
#7972AA #AA7287 #A3AA72 #72AA95
split-complementary
#7972AA #AA9572 #87AA72
monochromatic
#423D65 #5B548B #7972AA #9D98C1 #C2BED8

Accessibility & contrast

On white

4.37
#7972AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7972AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7972AA#FFFFFF#000000##000000
##7972AA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#637AAC
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#6E7C86
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7972aa;
/* rgb */ color: rgb(121, 114, 170);
/* oklch */ color: oklch(58.1% 0.085 289.2);
Tailwind
colors: {
  custom: {
    50: '#a19ac3',
    500: '#7972aa',
    950: '#000000',
  },
}
SCSS
$custom: #7972aa;
$custom-light: #a19ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7972aa",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 247.5,
    "s": 24.779,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.08513,
    "h": 289.2
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#7972AA
secondary
#C5C8B0
accent
#C167B6
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7972AA

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

Preview Lab → · Contrast checker → · Palette generator →

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