#7966FB#7966FB

#7966FB is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.9% C 0.213 H 283.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7966FB
RGBrgb(121, 102, 251)
HSLhsl(248, 95%, 69%)
HSVhsv(248, 59%, 98%)
CMYKcmyk(51.8%, 59.4%, 0%, 1.6%)
CIE-LABlab(52.43, 45.63, -72.20)
CIE-LCHlch(52.43, 85.41, 302.29°)
OKLaboklab(60.89% 0.0511 -0.2069)
OKLCHoklch(60.89% 0.213 283.9)
XYZxyz(30.0438, 20.5311, 93.6279)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966FB #E8FB66
analogous
#669EFB #7966FB #C466FB
triadic
#7966FB #FB7966 #66FB79
tetradic
#7966FB #FB669E #E8FB66 #66FBC4
square
#7966FB #FB669E #E8FB66 #66FBC4
split-complementary
#7966FB #FBC466 #9EFB66
monochromatic
#2206E1 #452AF9 #7966FB #ADA2FD #E1DDFE

Accessibility & contrast

On white

4.11
#7966FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7966FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966FB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966FB#FFFFFF#000000##000000
##7966FB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0078F8
Tritanopia (blue-blind)
#4489A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7966fb;
/* rgb */ color: rgb(121, 102, 251);
/* oklch */ color: oklch(60.9% 0.213 283.9);
Tailwind
colors: {
  custom: {
    50: '#a992fe',
    500: '#7966fb',
    950: '#000000',
  },
}
SCSS
$custom: #7966fb;
$custom-light: #a992fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7966fb",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 247.651,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6089,
    "c": 0.21315,
    "h": 283.9
  },
  "luminance": 0.20533
}

Semantic roles & 50–950 ramp

primary
#7966FB
secondary
#EFF4C9
accent
#E600C8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7966FB

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

Preview Lab → · Contrast checker → · Palette generator →

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