#7972EE#7972EE

#7972EE is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.0% C 0.181 H 282.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7972EE
RGBrgb(121, 114, 238)
HSLhsl(243, 78%, 69%)
HSVhsv(243, 52%, 93%)
CMYKcmyk(49.2%, 52.1%, 0%, 6.7%)
CIE-LABlab(54.31, 34.81, -61.93)
CIE-LCHlch(54.31, 71.04, 299.34°)
OKLaboklab(62.01% 0.0385 -0.1766)
OKLCHoklch(62.01% 0.181 282.3)
XYZxyz(29.3304, 22.2711, 83.6256)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972EE #E7EE72
analogous
#72A9EE #7972EE #B772EE
triadic
#7972EE #EE7972 #72EE79
tetradic
#7972EE #EE72A9 #E7EE72 #72EEB7
square
#7972EE #EE72A9 #E7EE72 #72EEB7
split-complementary
#7972EE #EEB772 #A9EE72
monochromatic
#2319CD #453BE7 #7972EE #ADA9F5 #E1DFFB

Accessibility & contrast

On white

3.85
#7972EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7972EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972EE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972EE#FFFFFF#000000##000000
##7972EE1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3186F2
Deuteranopia (green-blind)
#277EEB
Tritanopia (blue-blind)
#4D8DA5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7972ee;
/* rgb */ color: rgb(121, 114, 238);
/* oklch */ color: oklch(62.0% 0.181 282.3);
Tailwind
colors: {
  custom: {
    50: '#a79af4',
    500: '#7972ee',
    950: '#000000',
  },
}
SCSS
$custom: #7972ee;
$custom-light: #a79af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7972ee",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 243.387,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62012,
    "c": 0.18079,
    "h": 282.3
  },
  "luminance": 0.22273
}

Semantic roles & 50–950 ramp

primary
#7972EE
secondary
#EEF0CC
accent
#DB0BCF
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7972EE

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

Preview Lab → · Contrast checker → · Palette generator →

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