#7972F8#7972F8

#7972F8 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.7% C 0.194 H 281.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7972F8
RGBrgb(121, 114, 248)
HSLhsl(243, 91%, 71%)
HSVhsv(243, 54%, 97%)
CMYKcmyk(51.2%, 54%, 0%, 2.7%)
CIE-LABlab(54.94, 37.79, -66.47)
CIE-LCHlch(54.94, 76.46, 299.62°)
OKLaboklab(62.68% 0.0389 -0.19)
OKLCHoklch(62.68% 0.194 281.6)
XYZxyz(30.8406, 22.8751, 91.5790)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972F8 #F1F872
analogous
#72AEF8 #7972F8 #BC72F8
triadic
#7972F8 #F87972 #72F879
tetradic
#7972F8 #F872AE #F1F872 #72F8BC
square
#7972F8 #F872AE #F1F872 #72F8BC
split-complementary
#7972F8 #F8BC72 #AEF872
monochromatic
#170BE4 #4238F5 #7972F8 #B0ACFB #E3E2FE

Accessibility & contrast

On white

3.77
#7972F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7972F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7972F8#FFFFFF#000000##000000
##7972F81.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F88FD
Deuteranopia (green-blind)
#047FF5
Tritanopia (blue-blind)
#4590AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7972f8;
/* rgb */ color: rgb(121, 114, 248);
/* oklch */ color: oklch(62.7% 0.194 281.6);
Tailwind
colors: {
  custom: {
    50: '#a89afb',
    500: '#7972f8',
    950: '#000000',
  },
}
SCSS
$custom: #7972f8;
$custom-light: #a89afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7972f8",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 243.134,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62683,
    "c": 0.19396,
    "h": 281.6
  },
  "luminance": 0.22877
}

Semantic roles & 50–950 ramp

primary
#7972F8
secondary
#F3F5D1
accent
#E600DA
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7972F8

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

Preview Lab → · Contrast checker → · Palette generator →

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