#7972EC#7972EC

#7972EC is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.9% C 0.178 H 282.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7972EC
RGBrgb(121, 114, 236)
HSLhsl(243, 76%, 69%)
HSVhsv(243, 52%, 93%)
CMYKcmyk(48.7%, 51.7%, 0%, 7.5%)
CIE-LABlab(54.19, 34.21, -61.01)
CIE-LCHlch(54.19, 69.95, 299.28°)
OKLaboklab(61.88% 0.0384 -0.1739)
OKLCHoklch(61.88% 0.178 282.4)
XYZxyz(29.0382, 22.1542, 82.0867)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972EC #E5EC72
analogous
#72A8EC #7972EC #B672EC
triadic
#7972EC #EC7972 #72EC79
tetradic
#7972EC #EC72A8 #E5EC72 #72ECB6
square
#7972EC #EC72A8 #E5EC72 #72ECB6
split-complementary
#7972EC #ECB672 #A8EC72
monochromatic
#251BC9 #463CE5 #7972EC #ACA8F3 #E0DEFB

Accessibility & contrast

On white

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

On black

5.43
#7972EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972EC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972EC#FFFFFF#000000##000000
##7972EC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#4F8DA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7972ec;
/* rgb */ color: rgb(121, 114, 236);
/* oklch */ color: oklch(61.9% 0.178 282.4);
Tailwind
colors: {
  custom: {
    50: '#a79af3',
    500: '#7972ec',
    950: '#000000',
  },
}
SCSS
$custom: #7972ec;
$custom-light: #a79af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7972ec",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 243.443,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.17813,
    "h": 282.4
  },
  "luminance": 0.22156
}

Semantic roles & 50–950 ramp

primary
#7972EC
secondary
#EDEFCB
accent
#D80DCD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7972EC

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

Preview Lab → · Contrast checker → · Palette generator →

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