#7972E9#7972E9

#7972E9 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.7% C 0.174 H 282.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7972E9
RGBrgb(121, 114, 233)
HSLhsl(244, 73%, 68%)
HSVhsv(244, 51%, 91%)
CMYKcmyk(48.1%, 51.1%, 0%, 8.6%)
CIE-LABlab(54.01, 33.32, -59.63)
CIE-LCHlch(54.01, 68.30, 299.20°)
OKLaboklab(61.68% 0.0382 -0.1699)
OKLCHoklch(61.68% 0.174 282.7)
XYZxyz(28.6060, 21.9813, 79.8105)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972E9 #E2E972
analogous
#72A7E9 #7972E9 #B472E9
triadic
#7972E9 #E97972 #72E979
tetradic
#7972E9 #E972A7 #E2E972 #72E9B4
square
#7972E9 #E972A7 #E2E972 #72E9B4
split-complementary
#7972E9 #E9B472 #A7E972
monochromatic
#281EC2 #473DE1 #7972E9 #ABA7F1 #DEDCFA

Accessibility & contrast

On white

3.89
#7972E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7972E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972E9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972E9#FFFFFF#000000##000000
##7972E91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885ED
Deuteranopia (green-blind)
#307DE6
Tritanopia (blue-blind)
#518CA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7972e9;
/* rgb */ color: rgb(121, 114, 233);
/* oklch */ color: oklch(61.7% 0.174 282.7);
Tailwind
colors: {
  custom: {
    50: '#a69af1',
    500: '#7972e9',
    950: '#000000',
  },
}
SCSS
$custom: #7972e9;
$custom-light: #a69af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7972e9",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 243.529,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61684,
    "c": 0.17412,
    "h": 282.7
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

primary
#7972E9
secondary
#EBEEC9
accent
#D510CA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7972E9

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

Preview Lab → · Contrast checker → · Palette generator →

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