#7972F5#7972F5

#7972F5 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.5% C 0.190 H 281.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7972F5
RGBrgb(121, 114, 245)
HSLhsl(243, 87%, 70%)
HSVhsv(243, 53%, 96%)
CMYKcmyk(50.6%, 53.5%, 0%, 3.9%)
CIE-LABlab(54.75, 36.89, -65.12)
CIE-LCHlch(54.75, 74.84, 299.54°)
OKLaboklab(62.48% 0.0388 -0.186)
OKLCHoklch(62.48% 0.19 281.8)
XYZxyz(30.3789, 22.6905, 89.1474)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972F5 #EEF572
analogous
#72ACF5 #7972F5 #BA72F5
triadic
#7972F5 #F57972 #72F579
tetradic
#7972F5 #F572AC #EEF572 #72F5BA
square
#7972F5 #F572AC #EEF572 #72F5BA
split-complementary
#7972F5 #F5BA72 #ACF572
monochromatic
#1B10DD #4339F1 #7972F5 #AFABF9 #E4E2FD

Accessibility & contrast

On white

3.79
#7972F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7972F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7972F5#FFFFFF#000000##000000
##7972F51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FA
Deuteranopia (green-blind)
#147EF2
Tritanopia (blue-blind)
#478FA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7972f5;
/* rgb */ color: rgb(121, 114, 245);
/* oklch */ color: oklch(62.5% 0.190 281.8);
Tailwind
colors: {
  custom: {
    50: '#a89af9',
    500: '#7972f5',
    950: '#000000',
  },
}
SCSS
$custom: #7972f5;
$custom-light: #a89af9;
$custom-dark: #000000;
JSON
{
  "hex": "#7972f5",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 243.206,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62479,
    "c": 0.19003,
    "h": 281.8
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#7972F5
secondary
#F1F3CF
accent
#E302D7
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7972F5

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

Preview Lab → · Contrast checker → · Palette generator →

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