#7972BE#7972BE

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

Color values

HEX#7972BE
RGBrgb(121, 114, 190)
HSLhsl(246, 37%, 60%)
HSVhsv(246, 40%, 75%)
CMYKcmyk(36.3%, 40%, 0%, 25.5%)
CIE-LABlab(51.63, 20.95, -39.03)
CIE-LCHlch(51.63, 44.30, 298.22°)
OKLaboklab(59.12% 0.0326 -0.1096)
OKLCHoklch(59.12% 0.114 286.6)
XYZxyz(23.1942, 19.8166, 51.3081)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972BE #B7BE72
analogous
#7291BE #7972BE #9F72BE
triadic
#7972BE #BE7972 #72BE79
tetradic
#7972BE #BE7291 #B7BE72 #72BE9F
square
#7972BE #BE7291 #B7BE72 #72BE9F
split-complementary
#7972BE #BE9F72 #91BE72
monochromatic
#3F397C #554DA6 #7972BE #A19CD1 #C9C6E5

Accessibility & contrast

On white

4.23
#7972BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7972BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7972BE#FFFFFF#000000##000000
##7972BE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC1
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#67808F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7972be;
/* rgb */ color: rgb(121, 114, 190);
/* oklch */ color: oklch(59.1% 0.114 286.6);
Tailwind
colors: {
  custom: {
    50: '#a29ad2',
    500: '#7972be',
    950: '#000000',
  },
}
SCSS
$custom: #7972be;
$custom-light: #a29ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7972be",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 245.526,
    "s": 36.893,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59117,
    "c": 0.11433,
    "h": 286.6
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#7972BE
secondary
#D2D5B7
accent
#CD5BC2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7972BE

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

Preview Lab → · Contrast checker → · Palette generator →

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