#7966F5#7966F5

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

Color values

HEX#7966F5
RGBrgb(121, 102, 245)
HSLhsl(248, 88%, 68%)
HSVhsv(248, 58%, 96%)
CMYKcmyk(50.6%, 58.4%, 0%, 3.9%)
CIE-LABlab(52.02, 43.87, -69.54)
CIE-LCHlch(52.02, 82.22, 302.25°)
OKLaboklab(60.45% 0.0514 -0.1991)
OKLCHoklch(60.45% 0.206 284.5)
XYZxyz(29.1130, 20.1587, 88.7255)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966F5 #E2F566
analogous
#669AF5 #7966F5 #C066F5
triadic
#7966F5 #F57966 #66F579
tetradic
#7966F5 #F5669A #E2F566 #66F5C0
square
#7966F5 #F5669A #E2F566 #66F5C0
split-complementary
#7966F5 #F5C066 #9AF566
monochromatic
#280ED3 #472DF1 #7966F5 #AB9FF9 #DED9FD

Accessibility & contrast

On white

4.17
#7966F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7966F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966F5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966F5#FFFFFF#000000##000000
##7966F51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#4987A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7966f5;
/* rgb */ color: rgb(121, 102, 245);
/* oklch */ color: oklch(60.5% 0.206 284.5);
Tailwind
colors: {
  custom: {
    50: '#a892f9',
    500: '#7966f5',
    950: '#000000',
  },
}
SCSS
$custom: #7966f5;
$custom-light: #a892f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7966f5",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 247.972,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.20561,
    "h": 284.5
  },
  "luminance": 0.2016
}

Semantic roles & 50–950 ramp

primary
#7966F5
secondary
#EBF1C6
accent
#E401C6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7966F5

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

Preview Lab → · Contrast checker → · Palette generator →

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