#7966DA#7966DA

#7966DA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.6% C 0.171 H 287.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7966DA
RGBrgb(121, 102, 218)
HSLhsl(250, 61%, 63%)
HSVhsv(250, 53%, 85%)
CMYKcmyk(44.5%, 53.2%, 0%, 14.5%)
CIE-LABlab(50.25, 36.02, -57.21)
CIE-LCHlch(50.25, 67.61, 302.20°)
OKLaboklab(58.58% 0.0512 -0.1628)
OKLCHoklch(58.58% 0.171 287.4)
XYZxyz(25.2878, 18.6287, 68.5794)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966DA #C7DA66
analogous
#668DDA #7966DA #B366DA
triadic
#7966DA #DA7966 #66DA79
tetradic
#7966DA #DA668D #C7DA66 #66DAB3
square
#7966DA #DA668D #C7DA66 #66DAB3
split-complementary
#7966DA #DAB366 #8DDA66
monochromatic
#3A269F #4E35CE #7966DA #A497E6 #CFC9F2

Accessibility & contrast

On white

4.44
#7966DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7966DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966DA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966DA#FFFFFF#000000##000000
##7966DA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADE
Deuteranopia (green-blind)
#2C74D7
Tritanopia (blue-blind)
#5B7F96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7966da;
/* rgb */ color: rgb(121, 102, 218);
/* oklch */ color: oklch(58.6% 0.171 287.4);
Tailwind
colors: {
  custom: {
    50: '#a592e6',
    500: '#7966da',
    950: '#000000',
  },
}
SCSS
$custom: #7966da;
$custom-light: #a592e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7966da",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 249.828,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58584,
    "c": 0.1707,
    "h": 287.4
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#7966DA
secondary
#DCE3B9
accent
#C91DAD
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7966DA

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

Preview Lab → · Contrast checker → · Palette generator →

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