#7966FD#7966FD

#7966FD is a mid, highly saturated blue. Relative luminance 0.207; OKLCH L 61.0% C 0.216 H 283.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7966FD
RGBrgb(121, 102, 253)
HSLhsl(248, 97%, 70%)
HSVhsv(248, 60%, 99%)
CMYKcmyk(52.2%, 59.7%, 0%, 0.8%)
CIE-LABlab(52.57, 46.22, -73.08)
CIE-LCHlch(52.57, 86.47, 302.31°)
OKLaboklab(61.04% 0.0511 -0.2095)
OKLCHoklch(61.04% 0.216 283.7)
XYZxyz(30.3608, 20.6578, 95.2970)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966FD #EAFD66
analogous
#669EFD #7966FD #C566FD
triadic
#7966FD #FD7966 #66FD79
tetradic
#7966FD #FD669E #EAFD66 #66FDC5
square
#7966FD #FD669E #EAFD66 #66FDC5
split-complementary
#7966FD #FDC566 #9EFD66
monochromatic
#2003E6 #442AFC #7966FD #AEA2FE #E3DFFF

Accessibility & contrast

On white

4.09
#7966FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7966FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966FD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966FD#FFFFFF#000000##000000
##7966FD1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0078FA
Tritanopia (blue-blind)
#428AA8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7966fd;
/* rgb */ color: rgb(121, 102, 253);
/* oklch */ color: oklch(61.0% 0.216 283.7);
Tailwind
colors: {
  custom: {
    50: '#aa92ff',
    500: '#7966fd',
    950: '#000000',
  },
}
SCSS
$custom: #7966fd;
$custom-light: #aa92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7966fd",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 247.55,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.21564,
    "h": 283.7
  },
  "luminance": 0.2066
}

Semantic roles & 50–950 ramp

primary
#7966FD
secondary
#F0F5CA
accent
#E600C9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7966FD

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

Preview Lab → · Contrast checker → · Palette generator →

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