#7973BA#7973BA

#7973BA is a mid, moderate blue. Relative luminance 0.199; OKLCH L 59.1% C 0.107 H 286.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7973BA
RGBrgb(121, 115, 186)
HSLhsl(245, 34%, 59%)
HSVhsv(245, 38%, 73%)
CMYKcmyk(34.9%, 38.2%, 0%, 27.1%)
CIE-LABlab(51.69, 19.25, -36.63)
CIE-LCHlch(51.69, 41.38, 297.72°)
OKLaboklab(59.1% 0.0304 -0.1026)
OKLCHoklch(59.1% 0.107 286.5)
XYZxyz(22.8764, 19.8709, 49.0750)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7973BA #B4BA73
analogous
#7391BA #7973BA #9D73BA
triadic
#7973BA #BA7973 #73BA79
tetradic
#7973BA #BA7391 #B4BA73 #73BA9D
square
#7973BA #BA7391 #B4BA73 #73BA9D
split-complementary
#7973BA #BA9D73 #91BA73
monochromatic
#403B78 #564FA1 #7973BA #A09CCE #C7C5E2

Accessibility & contrast

On white

4.22
#7973BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7973BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7973BA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7973BA#FFFFFF#000000##000000
##7973BA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#5C79B8
Tritanopia (blue-blind)
#68808E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7973ba;
/* rgb */ color: rgb(121, 115, 186);
/* oklch */ color: oklch(59.1% 0.107 286.5);
Tailwind
colors: {
  custom: {
    50: '#a29bcf',
    500: '#7973ba',
    950: '#000000',
  },
}
SCSS
$custom: #7973ba;
$custom-light: #a29bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7973ba",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 186
  },
  "hsl": {
    "h": 245.07,
    "s": 33.971,
    "l": 59.02
  },
  "oklch": {
    "l": 0.591,
    "c": 0.10703,
    "h": 286.5
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#7973BA
secondary
#D0D2B6
accent
#CA5EC1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7973BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7973BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva