#7972BA#7972BA

#7972BA is a mid, moderate blue. Relative luminance 0.196; OKLCH L 58.9% C 0.109 H 287.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7972BA
RGBrgb(121, 114, 186)
HSLhsl(246, 34%, 59%)
HSVhsv(246, 39%, 73%)
CMYKcmyk(34.9%, 38.7%, 0%, 27.1%)
CIE-LABlab(51.43, 19.85, -37.04)
CIE-LCHlch(51.43, 42.02, 298.18°)
OKLaboklab(58.9% 0.0318 -0.1038)
OKLCHoklch(58.9% 0.109 287)
XYZxyz(22.7630, 19.6441, 49.0372)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972BA #B3BA72
analogous
#728FBA #7972BA #9D72BA
triadic
#7972BA #BA7972 #72BA79
tetradic
#7972BA #BA728F #B3BA72 #72BA9D
square
#7972BA #BA728F #B3BA72 #72BA9D
split-complementary
#7972BA #BA9D72 #8FBA72
monochromatic
#403A77 #564EA0 #7972BA #A09BCE #C7C4E2

Accessibility & contrast

On white

4.26
#7972BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7972BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7972BA#FFFFFF#000000##000000
##7972BA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7972ba;
/* rgb */ color: rgb(121, 114, 186);
/* oklch */ color: oklch(58.9% 0.109 287.0);
Tailwind
colors: {
  custom: {
    50: '#a29acf',
    500: '#7972ba',
    950: '#000000',
  },
}
SCSS
$custom: #7972ba;
$custom-light: #a29acf;
$custom-dark: #000000;
JSON
{
  "hex": "#7972ba",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 186
  },
  "hsl": {
    "h": 245.833,
    "s": 34.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.10856,
    "h": 287
  },
  "luminance": 0.19645
}

Semantic roles & 50–950 ramp

primary
#7972BA
secondary
#CFD2B6
accent
#CA5DC0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7972BA

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

Preview Lab → · Contrast checker → · Palette generator →

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