#7972EA#7972EA

#7972EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.7% C 0.175 H 282.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7972EA
RGBrgb(121, 114, 234)
HSLhsl(244, 74%, 68%)
HSVhsv(244, 51%, 92%)
CMYKcmyk(48.3%, 51.3%, 0%, 8.2%)
CIE-LABlab(54.07, 33.62, -60.09)
CIE-LCHlch(54.07, 68.85, 299.23°)
OKLaboklab(61.75% 0.0383 -0.1712)
OKLCHoklch(61.75% 0.175 282.6)
XYZxyz(28.7493, 22.0386, 80.5650)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972EA #E3EA72
analogous
#72A7EA #7972EA #B572EA
triadic
#7972EA #EA7972 #72EA79
tetradic
#7972EA #EA72A7 #E3EA72 #72EAB5
square
#7972EA #EA72A7 #E3EA72 #72EAB5
split-complementary
#7972EA #EAB572 #A7EA72
monochromatic
#271DC4 #463DE2 #7972EA #ACA7F2 #DEDDFA

Accessibility & contrast

On white

3.88
#7972EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7972EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972EA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972EA#FFFFFF#000000##000000
##7972EA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785EE
Deuteranopia (green-blind)
#2E7DE7
Tritanopia (blue-blind)
#508CA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7972ea;
/* rgb */ color: rgb(121, 114, 234);
/* oklch */ color: oklch(61.7% 0.175 282.6);
Tailwind
colors: {
  custom: {
    50: '#a79af1',
    500: '#7972ea',
    950: '#000000',
  },
}
SCSS
$custom: #7972ea;
$custom-light: #a79af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7972ea",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 243.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61749,
    "c": 0.17545,
    "h": 282.6
  },
  "luminance": 0.2204
}

Semantic roles & 50–950 ramp

primary
#7972EA
secondary
#ECEECA
accent
#D60FCB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7972EA

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

Preview Lab → · Contrast checker → · Palette generator →

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