#7972E8#7972E8

#7972E8 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.6% C 0.173 H 282.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7972E8
RGBrgb(121, 114, 232)
HSLhsl(244, 72%, 68%)
HSVhsv(244, 51%, 91%)
CMYKcmyk(47.8%, 50.9%, 0%, 9%)
CIE-LABlab(53.95, 33.02, -59.16)
CIE-LCHlch(53.95, 67.76, 299.17°)
OKLaboklab(61.62% 0.0381 -0.1685)
OKLCHoklch(61.62% 0.173 282.7)
XYZxyz(28.4636, 21.9243, 79.0603)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972E8 #E1E872
analogous
#72A6E8 #7972E8 #B472E8
triadic
#7972E8 #E87972 #72E879
tetradic
#7972E8 #E872A6 #E1E872 #72E8B4
square
#7972E8 #E872A6 #E1E872 #72E8B4
split-complementary
#7972E8 #E8B472 #A6E872
monochromatic
#291FC0 #473DDF #7972E8 #ABA7F1 #DDDBF9

Accessibility & contrast

On white

3.90
#7972E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7972E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972E8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972E8#FFFFFF#000000##000000
##7972E81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EC
Deuteranopia (green-blind)
#317DE5
Tritanopia (blue-blind)
#518CA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7972e8;
/* rgb */ color: rgb(121, 114, 232);
/* oklch */ color: oklch(61.6% 0.173 282.7);
Tailwind
colors: {
  custom: {
    50: '#a69af0',
    500: '#7972e8',
    950: '#000000',
  },
}
SCSS
$custom: #7972e8;
$custom-light: #a69af0;
$custom-dark: #000000;
JSON
{
  "hex": "#7972e8",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 243.559,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61619,
    "c": 0.17278,
    "h": 282.7
  },
  "luminance": 0.21926
}

Semantic roles & 50–950 ramp

primary
#7972E8
secondary
#EBEDC9
accent
#D411C8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7972E8

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

Preview Lab → · Contrast checker → · Palette generator →

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