#7966EC#7966EC

#7966EC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.8% C 0.194 H 285.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7966EC
RGBrgb(121, 102, 236)
HSLhsl(249, 78%, 66%)
HSVhsv(249, 57%, 93%)
CMYKcmyk(48.7%, 56.8%, 0%, 7.5%)
CIE-LABlab(51.41, 41.24, -65.49)
CIE-LCHlch(51.41, 77.40, 302.20°)
OKLaboklab(59.81% 0.0515 -0.1872)
OKLCHoklch(59.81% 0.194 285.4)
XYZxyz(27.7724, 19.6225, 81.6648)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966EC #D9EC66
analogous
#6696EC #7966EC #BC66EC
triadic
#7966EC #EC7966 #66EC79
tetradic
#7966EC #EC6696 #D9EC66 #66ECBC
square
#7966EC #EC6696 #D9EC66 #66ECBC
split-complementary
#7966EC #ECBC66 #96EC66
monochromatic
#3018C0 #4930E5 #7966EC #A99CF3 #D8D3FA

Accessibility & contrast

On white

4.26
#7966EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7966EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966EC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966EC#FFFFFF#000000##000000
##7966EC1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#50849F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7966ec;
/* rgb */ color: rgb(121, 102, 236);
/* oklch */ color: oklch(59.8% 0.194 285.4);
Tailwind
colors: {
  custom: {
    50: '#a792f3',
    500: '#7966ec',
    950: '#000000',
  },
}
SCSS
$custom: #7966ec;
$custom-light: #a792f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7966ec",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 248.507,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59812,
    "c": 0.19415,
    "h": 285.4
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#7966EC
secondary
#E7EDC1
accent
#DA0BBD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7966EC

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

Preview Lab → · Contrast checker → · Palette generator →

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