#7966EE#7966EE

#7966EE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 60.0% C 0.197 H 285.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7966EE
RGBrgb(121, 102, 238)
HSLhsl(248, 80%, 67%)
HSVhsv(248, 57%, 93%)
CMYKcmyk(49.2%, 57.1%, 0%, 6.7%)
CIE-LABlab(51.54, 41.82, -66.40)
CIE-LCHlch(51.54, 78.47, 302.21°)
OKLaboklab(59.95% 0.0515 -0.1898)
OKLCHoklch(59.95% 0.197 285.2)
XYZxyz(28.0646, 19.7394, 83.2036)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966EE #DBEE66
analogous
#6697EE #7966EE #BD66EE
triadic
#7966EE #EE7966 #66EE79
tetradic
#7966EE #EE6697 #DBEE66 #66EEBD
square
#7966EE #EE6697 #DBEE66 #66EEBD
split-complementary
#7966EE #EEBD66 #97EE66
monochromatic
#2E16C4 #492FE8 #7966EE #A99DF4 #D9D4FA

Accessibility & contrast

On white

4.24
#7966EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7966EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966EE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966EE#FFFFFF#000000##000000
##7966EE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#4E85A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7966ee;
/* rgb */ color: rgb(121, 102, 238);
/* oklch */ color: oklch(60.0% 0.197 285.2);
Tailwind
colors: {
  custom: {
    50: '#a892f4',
    500: '#7966ee',
    950: '#000000',
  },
}
SCSS
$custom: #7966ee;
$custom-light: #a892f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7966ee",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 248.382,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.19671,
    "h": 285.2
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#7966EE
secondary
#E8EEC2
accent
#DC09BF
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7966EE

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

Preview Lab → · Contrast checker → · Palette generator →

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