#7972CA#7972CA

#7972CA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.131 H 285.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7972CA
RGBrgb(121, 114, 202)
HSLhsl(245, 45%, 62%)
HSVhsv(245, 44%, 79%)
CMYKcmyk(40.1%, 43.6%, 0%, 20.8%)
CIE-LABlab(52.25, 24.31, -44.93)
CIE-LCHlch(52.25, 51.08, 298.42°)
OKLaboklab(59.79% 0.0347 -0.1268)
OKLCHoklch(59.79% 0.131 285.3)
XYZxyz(24.5601, 20.3630, 58.5021)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972CA #C3CA72
analogous
#7297CA #7972CA #A572CA
triadic
#7972CA #CA7972 #72CA79
tetradic
#7972CA #CA7297 #C3CA72 #72CAA5
square
#7972CA #CA7297 #C3CA72 #72CAA5
split-complementary
#7972CA #CAA572 #97CA72
monochromatic
#3C358D #4F46B9 #7972CA #A39EDB #CECBEB

Accessibility & contrast

On white

4.14
#7972CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7972CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972CA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972CA#FFFFFF#000000##000000
##7972CA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#628394
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7972ca;
/* rgb */ color: rgb(121, 114, 202);
/* oklch */ color: oklch(59.8% 0.131 285.3);
Tailwind
colors: {
  custom: {
    50: '#a39ada',
    500: '#7972ca',
    950: '#000000',
  },
}
SCSS
$custom: #7972ca;
$custom-light: #a39ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7972ca",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 244.773,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59786,
    "c": 0.13145,
    "h": 285.3
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

primary
#7972CA
secondary
#DADCBC
accent
#B92DAD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7972CA

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

Preview Lab → · Contrast checker → · Palette generator →

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