#7972E5#7972E5

#7972E5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.4% C 0.169 H 283.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7972E5
RGBrgb(121, 114, 229)
HSLhsl(244, 69%, 67%)
HSVhsv(244, 50%, 90%)
CMYKcmyk(47.2%, 50.2%, 0%, 10.2%)
CIE-LABlab(53.77, 32.14, -57.77)
CIE-LCHlch(53.77, 66.11, 299.09°)
OKLaboklab(61.43% 0.0379 -0.1644)
OKLCHoklch(61.43% 0.169 283)
XYZxyz(28.0411, 21.7553, 76.8352)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972E5 #DEE572
analogous
#72A5E5 #7972E5 #B272E5
triadic
#7972E5 #E57972 #72E579
tetradic
#7972E5 #E572A5 #DEE572 #72E5B2
square
#7972E5 #E572A5 #DEE572 #72E5B2
split-complementary
#7972E5 #E5B272 #A5E572
monochromatic
#2C22BA #483EDB #7972E5 #AAA6EF #DBD9F8

Accessibility & contrast

On white

3.92
#7972E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7972E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972E5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972E5#FFFFFF#000000##000000
##7972E51.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E9
Deuteranopia (green-blind)
#367DE2
Tritanopia (blue-blind)
#538BA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7972e5;
/* rgb */ color: rgb(121, 114, 229);
/* oklch */ color: oklch(61.4% 0.169 283.0);
Tailwind
colors: {
  custom: {
    50: '#a69aee',
    500: '#7972e5',
    950: '#000000',
  },
}
SCSS
$custom: #7972e5;
$custom-light: #a69aee;
$custom-dark: #000000;
JSON
{
  "hex": "#7972e5",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 243.652,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61426,
    "c": 0.16874,
    "h": 283
  },
  "luminance": 0.21757
}

Semantic roles & 50–950 ramp

primary
#7972E5
secondary
#E9ECC7
accent
#D115C5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7972E5

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

Preview Lab → · Contrast checker → · Palette generator →

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