#7972E7#7972E7

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

Color values

HEX#7972E7
RGBrgb(121, 114, 231)
HSLhsl(244, 71%, 68%)
HSVhsv(244, 51%, 91%)
CMYKcmyk(47.6%, 50.6%, 0%, 9.4%)
CIE-LABlab(53.89, 32.73, -58.70)
CIE-LCHlch(53.89, 67.21, 299.14°)
OKLaboklab(61.56% 0.0381 -0.1672)
OKLCHoklch(61.56% 0.171 282.8)
XYZxyz(28.3220, 21.8677, 78.3144)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972E7 #E0E772
analogous
#72A5E7 #7972E7 #B472E7
triadic
#7972E7 #E77972 #72E779
tetradic
#7972E7 #E772A5 #E0E772 #72E7B4
square
#7972E7 #E772A5 #E0E772 #72E7B4
split-complementary
#7972E7 #E7B472 #A5E772
monochromatic
#2A20BE #473EDE #7972E7 #ABA6F0 #DCDBF9

Accessibility & contrast

On white

3.91
#7972E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7972E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972E7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972E7#FFFFFF#000000##000000
##7972E71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EB
Deuteranopia (green-blind)
#337DE4
Tritanopia (blue-blind)
#528BA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7972e7;
/* rgb */ color: rgb(121, 114, 231);
/* oklch */ color: oklch(61.6% 0.171 282.8);
Tailwind
colors: {
  custom: {
    50: '#a69aef',
    500: '#7972e7',
    950: '#000000',
  },
}
SCSS
$custom: #7972e7;
$custom-light: #a69aef;
$custom-dark: #000000;
JSON
{
  "hex": "#7972e7",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 243.59,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61555,
    "c": 0.17144,
    "h": 282.8
  },
  "luminance": 0.21869
}

Semantic roles & 50–950 ramp

primary
#7972E7
secondary
#EAEDC8
accent
#D313C7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7972E7

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

Preview Lab → · Contrast checker → · Palette generator →

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