#7972EF#7972EF

#7972EF is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.1% C 0.182 H 282.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7972EF
RGBrgb(121, 114, 239)
HSLhsl(243, 80%, 69%)
HSVhsv(243, 52%, 94%)
CMYKcmyk(49.4%, 52.3%, 0%, 6.3%)
CIE-LABlab(54.38, 35.10, -62.38)
CIE-LCHlch(54.38, 71.58, 299.37°)
OKLaboklab(62.08% 0.0386 -0.178)
OKLCHoklch(62.08% 0.182 282.2)
XYZxyz(29.4777, 22.3300, 84.4015)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972EF #E8EF72
analogous
#72AAEF #7972EF #B872EF
triadic
#7972EF #EF7972 #72EF79
tetradic
#7972EF #EF72AA #E8EF72 #72EFB8
square
#7972EF #EF72AA #E8EF72 #72EFB8
split-complementary
#7972EF #EFB872 #AAEF72
monochromatic
#2218CF #453BE9 #7972EF #ADA9F5 #E1E0FB

Accessibility & contrast

On white

3.84
#7972EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7972EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972EF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972EF#FFFFFF#000000##000000
##7972EF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#257EEC
Tritanopia (blue-blind)
#4C8EA6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7972ef;
/* rgb */ color: rgb(121, 114, 239);
/* oklch */ color: oklch(62.1% 0.182 282.2);
Tailwind
colors: {
  custom: {
    50: '#a79af5',
    500: '#7972ef',
    950: '#000000',
  },
}
SCSS
$custom: #7972ef;
$custom-light: #a79af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7972ef",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 243.36,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62078,
    "c": 0.18212,
    "h": 282.2
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#7972EF
secondary
#EFF1CC
accent
#DC0AD0
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7972EF

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

Preview Lab → · Contrast checker → · Palette generator →

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