#7974FD#7974FD

#7974FD is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.4% C 0.198 H 280.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7974FD
RGBrgb(121, 116, 253)
HSLhsl(242, 97%, 72%)
HSVhsv(242, 54%, 99%)
CMYKcmyk(52.2%, 54.2%, 0%, 0.8%)
CIE-LABlab(55.73, 38.12, -67.97)
CIE-LCHlch(55.73, 77.93, 299.29°)
OKLaboklab(63.37% 0.037 -0.1944)
OKLCHoklch(63.37% 0.198 280.8)
XYZxyz(31.8547, 23.6457, 95.7950)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974FD #F8FD74
analogous
#74B3FD #7974FD #BE74FD
triadic
#7974FD #FD7974 #74FD79
tetradic
#7974FD #FD74B3 #F8FD74 #74FDBE
square
#7974FD #FD74B3 #F8FD74 #74FDBE
split-complementary
#7974FD #FDBE74 #B3FD74
monochromatic
#0C03F3 #3F38FC #7974FD #B3B0FE #E2E1FF

Accessibility & contrast

On white

3.67
#7974FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7974FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974FD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974FD#FFFFFF#000000##000000
##7974FD1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8BFF
Deuteranopia (green-blind)
#0080FA
Tritanopia (blue-blind)
#4093AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7974fd;
/* rgb */ color: rgb(121, 116, 253);
/* oklch */ color: oklch(63.4% 0.198 280.8);
Tailwind
colors: {
  custom: {
    50: '#a99cff',
    500: '#7974fd',
    950: '#000000',
  },
}
SCSS
$custom: #7974fd;
$custom-light: #a99cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7974fd",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 242.19,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.63372,
    "c": 0.19788,
    "h": 280.8
  },
  "luminance": 0.23648
}

Semantic roles & 50–950 ramp

primary
#7974FD
secondary
#F6F7D4
accent
#E600DD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7974FD

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

Preview Lab → · Contrast checker → · Palette generator →

#7974FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva