#7966E5#7966E5

#7966E5 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.3% C 0.185 H 286.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7966E5
RGBrgb(121, 102, 229)
HSLhsl(249, 71%, 65%)
HSVhsv(249, 55%, 90%)
CMYKcmyk(47.2%, 55.5%, 0%, 10.2%)
CIE-LABlab(50.95, 39.20, -62.31)
CIE-LCHlch(50.95, 73.61, 302.18°)
OKLaboklab(59.33% 0.0515 -0.1778)
OKLCHoklch(59.33% 0.185 286.1)
XYZxyz(26.7752, 19.2236, 76.4133)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966E5 #D2E566
analogous
#6693E5 #7966E5 #B866E5
triadic
#7966E5 #E57966 #66E579
tetradic
#7966E5 #E56693 #D2E566 #66E5B8
square
#7966E5 #E56693 #D2E566 #66E5B8
split-complementary
#7966E5 #E5B866 #93E566
monochromatic
#341EB2 #4B32DC #7966E5 #A79AEE #D5CFF7

Accessibility & contrast

On white

4.33
#7966E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7966E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966E5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966E5#FFFFFF#000000##000000
##7966E51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#177DE9
Deuteranopia (green-blind)
#1276E2
Tritanopia (blue-blind)
#55829C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7966e5;
/* rgb */ color: rgb(121, 102, 229);
/* oklch */ color: oklch(59.3% 0.185 286.1);
Tailwind
colors: {
  custom: {
    50: '#a792ee',
    500: '#7966e5',
    950: '#000000',
  },
}
SCSS
$custom: #7966e5;
$custom-light: #a792ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7966e5",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 248.976,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.18511,
    "h": 286.1
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#7966E5
secondary
#E3E9BE
accent
#D313B6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7966E5

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

Preview Lab → · Contrast checker → · Palette generator →

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