#7974F5#7974F5

#7974F5 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.8% C 0.187 H 281.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7974F5
RGBrgb(121, 116, 245)
HSLhsl(242, 87%, 71%)
HSVhsv(242, 53%, 96%)
CMYKcmyk(50.6%, 52.7%, 0%, 3.9%)
CIE-LABlab(55.22, 35.72, -64.36)
CIE-LCHlch(55.22, 73.60, 299.03°)
OKLaboklab(62.83% 0.0367 -0.1838)
OKLCHoklch(62.83% 0.187 281.3)
XYZxyz(30.6069, 23.1466, 89.2235)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974F5 #F0F574
analogous
#74AFF5 #7974F5 #BA74F5
triadic
#7974F5 #F57974 #74F579
tetradic
#7974F5 #F574AF #F0F574 #74F5BA
square
#7974F5 #F574AF #F0F574 #74F5BA
split-complementary
#7974F5 #F5BA74 #AFF574
monochromatic
#1810DF #423BF1 #7974F5 #B0ADF9 #E3E2FD

Accessibility & contrast

On white

3.73
#7974F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7974F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974F5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974F5#FFFFFF#000000##000000
##7974F51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89F9
Deuteranopia (green-blind)
#1D80F2
Tritanopia (blue-blind)
#4791A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7974f5;
/* rgb */ color: rgb(121, 116, 245);
/* oklch */ color: oklch(62.8% 0.187 281.3);
Tailwind
colors: {
  custom: {
    50: '#a89cf9',
    500: '#7974f5',
    950: '#000000',
  },
}
SCSS
$custom: #7974f5;
$custom-light: #a89cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7974f5",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 242.326,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62831,
    "c": 0.1874,
    "h": 281.3
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

primary
#7974F5
secondary
#F2F4D1
accent
#E302DA
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7974F5

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

Preview Lab → · Contrast checker → · Palette generator →

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