#7966F4#7966F4

#7966F4 is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.4% C 0.204 H 284.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7966F4
RGBrgb(121, 102, 244)
HSLhsl(248, 87%, 68%)
HSVhsv(248, 58%, 96%)
CMYKcmyk(50.4%, 58.2%, 0%, 4.3%)
CIE-LABlab(51.95, 43.58, -69.09)
CIE-LCHlch(51.95, 81.69, 302.24°)
OKLaboklab(60.38% 0.0514 -0.1978)
OKLCHoklch(60.38% 0.204 284.6)
XYZxyz(28.9608, 20.0978, 87.9237)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966F4 #E1F466
analogous
#669AF4 #7966F4 #C066F4
triadic
#7966F4 #F47966 #66F479
tetradic
#7966F4 #F4669A #E1F466 #66F4C0
square
#7966F4 #F4669A #E1F466 #66F4C0
split-complementary
#7966F4 #F4C066 #9AF466
monochromatic
#290FD1 #472DF0 #7966F4 #AB9FF8 #DDD8FC

Accessibility & contrast

On white

4.18
#7966F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7966F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966F4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966F4#FFFFFF#000000##000000
##7966F41.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#4A87A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7966f4;
/* rgb */ color: rgb(121, 102, 244);
/* oklch */ color: oklch(60.4% 0.204 284.6);
Tailwind
colors: {
  custom: {
    50: '#a892f9',
    500: '#7966f4',
    950: '#000000',
  },
}
SCSS
$custom: #7966f4;
$custom-light: #a892f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7966f4",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 248.028,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60381,
    "c": 0.20434,
    "h": 284.6
  },
  "luminance": 0.20099
}

Semantic roles & 50–950 ramp

primary
#7966F4
secondary
#EBF1C5
accent
#E302C5
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7966F4

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

Preview Lab → · Contrast checker → · Palette generator →

#7966F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva