#7972DE#7972DE

#7972DE is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.0% C 0.159 H 283.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7972DE
RGBrgb(121, 114, 222)
HSLhsl(244, 62%, 66%)
HSVhsv(244, 49%, 87%)
CMYKcmyk(45.5%, 48.6%, 0%, 12.9%)
CIE-LABlab(53.35, 30.08, -54.50)
CIE-LCHlch(53.35, 62.25, 298.90°)
OKLaboklab(60.98% 0.0373 -0.1548)
OKLCHoklch(60.98% 0.159 283.5)
XYZxyz(27.0834, 21.3723, 71.7913)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972DE #D7DE72
analogous
#72A1DE #7972DE #AF72DE
triadic
#7972DE #DE7972 #72DE79
tetradic
#7972DE #DE72A1 #D7DE72 #72DEAF
square
#7972DE #DE72A1 #D7DE72 #72DEAF
split-complementary
#7972DE #DEAF72 #A1DE72
monochromatic
#3129AD #4A40D2 #7972DE #A8A4EA #D7D5F5

Accessibility & contrast

On white

3.98
#7972DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7972DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972DE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972DE#FFFFFF#000000##000000
##7972DE1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E2
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#58899D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7972de;
/* rgb */ color: rgb(121, 114, 222);
/* oklch */ color: oklch(61.0% 0.159 283.5);
Tailwind
colors: {
  custom: {
    50: '#a59ae9',
    500: '#7972de',
    950: '#000000',
  },
}
SCSS
$custom: #7972de;
$custom-light: #a59ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#7972de",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 222
  },
  "hsl": {
    "h": 243.889,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60984,
    "c": 0.15924,
    "h": 283.5
  },
  "luminance": 0.21374
}

Semantic roles & 50–950 ramp

primary
#7972DE
secondary
#E5E8C4
accent
#CA1CBF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7972DE

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

Preview Lab → · Contrast checker → · Palette generator →

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