#7966FC#7966FC

#7966FC is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 61.0% C 0.214 H 283.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7966FC
RGBrgb(121, 102, 252)
HSLhsl(248, 96%, 69%)
HSVhsv(248, 60%, 99%)
CMYKcmyk(52%, 59.5%, 0%, 1.2%)
CIE-LABlab(52.50, 45.92, -72.64)
CIE-LCHlch(52.50, 85.94, 302.30°)
OKLaboklab(60.96% 0.0511 -0.2082)
OKLCHoklch(60.96% 0.214 283.8)
XYZxyz(30.2019, 20.5943, 94.4603)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966FC #E9FC66
analogous
#669EFC #7966FC #C466FC
triadic
#7966FC #FC7966 #66FC79
tetradic
#7966FC #FC669E #E9FC66 #66FCC4
square
#7966FC #FC669E #E9FC66 #66FCC4
split-complementary
#7966FC #FCC466 #9EFC66
monochromatic
#2104E3 #442AFB #7966FC #AEA2FD #E2DEFE

Accessibility & contrast

On white

4.10
#7966FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7966FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966FC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966FC#FFFFFF#000000##000000
##7966FC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#438AA7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7966fc;
/* rgb */ color: rgb(121, 102, 252);
/* oklch */ color: oklch(61.0% 0.214 283.8);
Tailwind
colors: {
  custom: {
    50: '#a992fe',
    500: '#7966fc',
    950: '#000000',
  },
}
SCSS
$custom: #7966fc;
$custom-light: #a992fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7966fc",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 247.6,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.60964,
    "c": 0.21439,
    "h": 283.8
  },
  "luminance": 0.20596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7966FC

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

Preview Lab → · Contrast checker → · Palette generator →

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