#7966CC#7966CC

#7966CC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.7% C 0.152 H 289.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7966CC
RGBrgb(121, 102, 204)
HSLhsl(251, 50%, 60%)
HSVhsv(251, 50%, 80%)
CMYKcmyk(40.7%, 50%, 0%, 20%)
CIE-LABlab(49.41, 32.04, -50.59)
CIE-LCHlch(49.41, 59.88, 302.35°)
OKLaboklab(57.68% 0.0503 -0.1434)
OKLCHoklch(57.68% 0.152 289.3)
XYZxyz(23.5326, 17.9266, 59.3353)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966CC #B9CC66
analogous
#6686CC #7966CC #AC66CC
triadic
#7966CC #CC7966 #66CC79
tetradic
#7966CC #CC6686 #B9CC66 #66CCAC
square
#7966CC #CC6686 #B9CC66 #66CCAC
split-complementary
#7966CC #CCAC66 #86CC66
monochromatic
#3F2E8A #543DB8 #7966CC #A194DB #C9C2EB

Accessibility & contrast

On white

4.58
#7966CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7966CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966CC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966CC#FFFFFF#000000##000000
##7966CC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D0
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#627B8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7966cc;
/* rgb */ color: rgb(121, 102, 204);
/* oklch */ color: oklch(57.7% 0.152 289.3);
Tailwind
colors: {
  custom: {
    50: '#a492dc',
    500: '#7966cc',
    950: '#000000',
  },
}
SCSS
$custom: #7966cc;
$custom-light: #a492dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7966cc",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 251.176,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.15194,
    "h": 289.3
  },
  "luminance": 0.17927
}

Semantic roles & 50–950 ramp

primary
#7966CC
secondary
#D3DBB3
accent
#DA4EC0
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7966CC

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

Preview Lab → · Contrast checker → · Palette generator →

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