#7966D5#7966D5

#7966D5 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.3% C 0.164 H 288.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7966D5
RGBrgb(121, 102, 213)
HSLhsl(250, 57%, 62%)
HSVhsv(250, 52%, 84%)
CMYKcmyk(43.2%, 52.1%, 0%, 16.5%)
CIE-LABlab(49.94, 34.59, -54.87)
CIE-LCHlch(49.94, 64.86, 302.23°)
OKLaboklab(58.26% 0.0509 -0.1559)
OKLCHoklch(58.26% 0.164 288.1)
XYZxyz(24.6434, 18.3709, 65.1854)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966D5 #C2D566
analogous
#668BD5 #7966D5 #B166D5
triadic
#7966D5 #D57966 #66D579
tetradic
#7966D5 #D5668B #C2D566 #66D5B1
square
#7966D5 #D5668B #C2D566 #66D5B1
split-complementary
#7966D5 #D5B166 #8BD566
monochromatic
#3C2997 #4F37C7 #7966D5 #A396E2 #CDC6EF

Accessibility & contrast

On white

4.49
#7966D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7966D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966D5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966D5#FFFFFF#000000##000000
##7966D51.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3379D9
Deuteranopia (green-blind)
#3374D3
Tritanopia (blue-blind)
#5E7E94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7966d5;
/* rgb */ color: rgb(121, 102, 213);
/* oklch */ color: oklch(58.3% 0.164 288.1);
Tailwind
colors: {
  custom: {
    50: '#a592e2',
    500: '#7966d5',
    950: '#000000',
  },
}
SCSS
$custom: #7966d5;
$custom-light: #a592e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7966d5",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 250.27,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.16405,
    "h": 288.1
  },
  "luminance": 0.18372
}

Semantic roles & 50–950 ramp

primary
#7966D5
secondary
#D9E0B7
accent
#C421A9
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7966D5

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

Preview Lab → · Contrast checker → · Palette generator →

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