#7972DC#7972DC

#7972DC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.9% C 0.157 H 283.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7972DC
RGBrgb(121, 114, 220)
HSLhsl(244, 60%, 65%)
HSVhsv(244, 48%, 86%)
CMYKcmyk(45%, 48.2%, 0%, 13.7%)
CIE-LABlab(53.24, 29.50, -53.55)
CIE-LCHlch(53.24, 61.14, 298.84°)
OKLaboklab(60.86% 0.0371 -0.152)
OKLCHoklch(60.86% 0.157 283.7)
XYZxyz(26.8169, 21.2657, 70.3880)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972DC #D5DC72
analogous
#72A0DC #7972DC #AE72DC
triadic
#7972DC #DC7972 #72DC79
tetradic
#7972DC #DC72A0 #D5DC72 #72DCAE
square
#7972DC #DC72A0 #D5DC72 #72DCAE
split-complementary
#7972DC #DCAE72 #A0DC72
monochromatic
#322AAA #4A41D0 #7972DC #A8A3E8 #D6D4F4

Accessibility & contrast

On white

4.00
#7972DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7972DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7972DC#FFFFFF#000000##000000
##7972DC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E0
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#59889C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7972dc;
/* rgb */ color: rgb(121, 114, 220);
/* oklch */ color: oklch(60.9% 0.157 283.7);
Tailwind
colors: {
  custom: {
    50: '#a59ae7',
    500: '#7972dc',
    950: '#000000',
  },
}
SCSS
$custom: #7972dc;
$custom-light: #a59ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7972dc",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 243.962,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.1565,
    "h": 283.7
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

primary
#7972DC
secondary
#E4E7C3
accent
#C81EBD
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7972DC

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

Preview Lab → · Contrast checker → · Palette generator →

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