#7972CD#7972CD

#7972CD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.136 H 285.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7972CD
RGBrgb(121, 114, 205)
HSLhsl(245, 48%, 63%)
HSVhsv(245, 44%, 80%)
CMYKcmyk(41%, 44.4%, 0%, 19.6%)
CIE-LABlab(52.41, 25.16, -46.38)
CIE-LCHlch(52.41, 52.77, 298.48°)
OKLaboklab(59.96% 0.0352 -0.131)
OKLCHoklch(59.96% 0.136 285)
XYZxyz(24.9188, 20.5064, 60.3909)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972CD #C6CD72
analogous
#7299CD #7972CD #A672CD
triadic
#7972CD #CD7972 #72CD79
tetradic
#7972CD #CD7299 #C6CD72 #72CDA6
square
#7972CD #CD7299 #C6CD72 #72CDA6
split-complementary
#7972CD #CDA672 #99CD72
monochromatic
#3B3391 #4E45BD #7972CD #A49FDD #CFCCED

Accessibility & contrast

On white

4.12
#7972CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7972CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972CD#FFFFFF#000000##000000
##7972CD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#608496
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7972cd;
/* rgb */ color: rgb(121, 114, 205);
/* oklch */ color: oklch(60.0% 0.136 285.0);
Tailwind
colors: {
  custom: {
    50: '#a39add',
    500: '#7972cd',
    950: '#000000',
  },
}
SCSS
$custom: #7972cd;
$custom-light: #a39add;
$custom-dark: #000000;
JSON
{
  "hex": "#7972cd",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 244.615,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5996,
    "c": 0.13567,
    "h": 285
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#7972CD
secondary
#DBDEBD
accent
#BB2BB0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7972CD

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

Preview Lab → · Contrast checker → · Palette generator →

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