#7966CB#7966CB

#7966CB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.6% C 0.151 H 289.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7966CB
RGBrgb(121, 102, 203)
HSLhsl(251, 49%, 60%)
HSVhsv(251, 50%, 80%)
CMYKcmyk(40.4%, 49.8%, 0%, 20.4%)
CIE-LABlab(49.35, 31.76, -50.11)
CIE-LCHlch(49.35, 59.33, 302.36°)
OKLaboklab(57.62% 0.0502 -0.142)
OKLCHoklch(57.62% 0.151 289.5)
XYZxyz(23.4130, 17.8788, 58.7057)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966CB #B8CB66
analogous
#6686CB #7966CB #AB66CB
triadic
#7966CB #CB7966 #66CB79
tetradic
#7966CB #CB6686 #B8CB66 #66CBAB
square
#7966CB #CB6686 #B8CB66 #66CBAB
split-complementary
#7966CB #CBAB66 #86CB66
monochromatic
#3F2E88 #543EB6 #7966CB #A194DB #C9C1EA

Accessibility & contrast

On white

4.59
#7966CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7966CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7966CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966CB#FFFFFF#000000##FFFFFF
##7966CB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7966cb;
/* rgb */ color: rgb(121, 102, 203);
/* oklch */ color: oklch(57.6% 0.151 289.5);
Tailwind
colors: {
  custom: {
    50: '#a492db',
    500: '#7966cb',
    950: '#000000',
  },
}
SCSS
$custom: #7966cb;
$custom-light: #a492db;
$custom-dark: #000000;
JSON
{
  "hex": "#7966cb",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 251.287,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.15059,
    "h": 289.5
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#7966CB
secondary
#D3DAB3
accent
#D94FBF
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7966CB

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

Preview Lab → · Contrast checker → · Palette generator →

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