#7966CD#7966CD

#7966CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.7% C 0.153 H 289.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7966CD
RGBrgb(121, 102, 205)
HSLhsl(251, 51%, 60%)
HSVhsv(251, 50%, 80%)
CMYKcmyk(41%, 50.2%, 0%, 19.6%)
CIE-LABlab(49.47, 32.32, -51.07)
CIE-LCHlch(49.47, 60.44, 302.33°)
OKLaboklab(57.75% 0.0504 -0.1448)
OKLCHoklch(57.75% 0.153 289.2)
XYZxyz(23.6529, 17.9747, 59.9690)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966CD #BACD66
analogous
#6686CD #7966CD #AC66CD
triadic
#7966CD #CD7966 #66CD79
tetradic
#7966CD #CD6686 #BACD66 #66CDAC
square
#7966CD #CD6686 #BACD66 #66CDAC
split-complementary
#7966CD #CDAC66 #86CD66
monochromatic
#3F2D8B #543DB9 #7966CD #A194DC #CAC2EB

Accessibility & contrast

On white

4.57
#7966CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7966CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966CD#FFFFFF#000000##000000
##7966CD1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#617B90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7966cd;
/* rgb */ color: rgb(121, 102, 205);
/* oklch */ color: oklch(57.7% 0.153 289.2);
Tailwind
colors: {
  custom: {
    50: '#a492dd',
    500: '#7966cd',
    950: '#000000',
  },
}
SCSS
$custom: #7966cd;
$custom-light: #a492dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7966cd",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 251.068,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.1533,
    "h": 289.2
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#7966CD
secondary
#D4DBB4
accent
#BE27A2
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7966CD

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

Preview Lab → · Contrast checker → · Palette generator →

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