#7973DF#7973DF

#7973DF is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.2% C 0.159 H 283.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7973DF
RGBrgb(121, 115, 223)
HSLhsl(243, 63%, 66%)
HSVhsv(243, 48%, 87%)
CMYKcmyk(45.7%, 48.4%, 0%, 12.5%)
CIE-LABlab(53.66, 29.78, -54.58)
CIE-LCHlch(53.66, 62.17, 298.62°)
OKLaboklab(61.23% 0.0362 -0.155)
OKLCHoklch(61.23% 0.159 283.1)
XYZxyz(27.3312, 21.6529, 72.5370)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7973DF #D9DF73
analogous
#73A3DF #7973DF #AF73DF
triadic
#7973DF #DF7973 #73DF79
tetradic
#7973DF #DF73A3 #D9DF73 #73DFAF
square
#7973DF #DF73A3 #D9DF73 #73DFAF
split-complementary
#7973DF #DFAF73 #A3DF73
monochromatic
#3028AF #4941D4 #7973DF #A9A5EA #D8D7F6

Accessibility & contrast

On white

3.94
#7973DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7973DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7973DF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7973DF#FFFFFF#000000##000000
##7973DF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#3F7DDD
Tritanopia (blue-blind)
#578A9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7973df;
/* rgb */ color: rgb(121, 115, 223);
/* oklch */ color: oklch(61.2% 0.159 283.1);
Tailwind
colors: {
  custom: {
    50: '#a59be9',
    500: '#7973df',
    950: '#000000',
  },
}
SCSS
$custom: #7973df;
$custom-light: #a59be9;
$custom-dark: #000000;
JSON
{
  "hex": "#7973df",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 243.333,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6123,
    "c": 0.15921,
    "h": 283.1
  },
  "luminance": 0.21654
}

Semantic roles & 50–950 ramp

primary
#7973DF
secondary
#E7E9C5
accent
#CB1BC1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7973DF

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

Preview Lab → · Contrast checker → · Palette generator →

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