#7966F6#7966F6

#7966F6 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.5% C 0.207 H 284.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7966F6
RGBrgb(121, 102, 246)
HSLhsl(248, 89%, 68%)
HSVhsv(248, 59%, 96%)
CMYKcmyk(50.8%, 58.5%, 0%, 3.5%)
CIE-LABlab(52.09, 44.16, -69.98)
CIE-LCHlch(52.09, 82.75, 302.25°)
OKLaboklab(60.53% 0.0513 -0.2004)
OKLCHoklch(60.53% 0.207 284.4)
XYZxyz(29.2661, 20.2200, 89.5317)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966F6 #E3F666
analogous
#669BF6 #7966F6 #C166F6
triadic
#7966F6 #F67966 #66F679
tetradic
#7966F6 #F6669B #E3F666 #66F6C1
square
#7966F6 #F6669B #E3F666 #66F6C1
split-complementary
#7966F6 #F6C166 #9BF666
monochromatic
#270DD5 #462CF3 #7966F6 #ACA0F9 #DEDAFD

Accessibility & contrast

On white

4.16
#7966F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7966F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966F6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966F6#FFFFFF#000000##000000
##7966F61.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#4888A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7966f6;
/* rgb */ color: rgb(121, 102, 246);
/* oklch */ color: oklch(60.5% 0.207 284.4);
Tailwind
colors: {
  custom: {
    50: '#a992fa',
    500: '#7966f6',
    950: '#000000',
  },
}
SCSS
$custom: #7966f6;
$custom-light: #a992fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7966f6",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 247.917,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.20687,
    "h": 284.4
  },
  "luminance": 0.20222
}

Semantic roles & 50–950 ramp

primary
#7966F6
secondary
#ECF2C6
accent
#E600C7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7966F6

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

Preview Lab → · Contrast checker → · Palette generator →

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