#7972EB#7972EB

#7972EB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.8% C 0.177 H 282.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7972EB
RGBrgb(121, 114, 235)
HSLhsl(243, 75%, 68%)
HSVhsv(243, 51%, 92%)
CMYKcmyk(48.5%, 51.5%, 0%, 7.8%)
CIE-LABlab(54.13, 33.91, -60.55)
CIE-LCHlch(54.13, 69.40, 299.25°)
OKLaboklab(61.81% 0.0383 -0.1726)
OKLCHoklch(61.81% 0.177 282.5)
XYZxyz(28.8934, 22.0962, 81.3237)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972EB #E4EB72
analogous
#72A7EB #7972EB #B572EB
triadic
#7972EB #EB7972 #72EB79
tetradic
#7972EB #EB72A7 #E4EB72 #72EBB5
square
#7972EB #EB72A7 #E4EB72 #72EBB5
split-complementary
#7972EB #EBB572 #A7EB72
monochromatic
#261CC6 #463CE3 #7972EB #ACA8F3 #DFDDFA

Accessibility & contrast

On white

3.87
#7972EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7972EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972EB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972EB#FFFFFF#000000##000000
##7972EB1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586EF
Deuteranopia (green-blind)
#2C7DE8
Tritanopia (blue-blind)
#4F8CA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7972eb;
/* rgb */ color: rgb(121, 114, 235);
/* oklch */ color: oklch(61.8% 0.177 282.5);
Tailwind
colors: {
  custom: {
    50: '#a79af2',
    500: '#7972eb',
    950: '#000000',
  },
}
SCSS
$custom: #7972eb;
$custom-light: #a79af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7972eb",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 243.471,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61814,
    "c": 0.1768,
    "h": 282.5
  },
  "luminance": 0.22098
}

Semantic roles & 50–950 ramp

primary
#7972EB
secondary
#ECEFCA
accent
#D70ECC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7972EB

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

Preview Lab → · Contrast checker → · Palette generator →

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