#7966EA#7966EA

#7966EA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.7% C 0.192 H 285.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7966EA
RGBrgb(121, 102, 234)
HSLhsl(249, 76%, 66%)
HSVhsv(249, 56%, 92%)
CMYKcmyk(48.3%, 56.4%, 0%, 8.2%)
CIE-LABlab(51.28, 40.66, -64.59)
CIE-LCHlch(51.28, 76.32, 302.19°)
OKLaboklab(59.67% 0.0515 -0.1845)
OKLCHoklch(59.67% 0.192 285.6)
XYZxyz(27.4834, 19.5069, 80.1430)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966EA #D7EA66
analogous
#6695EA #7966EA #BB66EA
triadic
#7966EA #EA7966 #66EA79
tetradic
#7966EA #EA6695 #D7EA66 #66EABB
square
#7966EA #EA6695 #D7EA66 #66EABB
split-complementary
#7966EA #EABB66 #95EA66
monochromatic
#311ABC #4A30E3 #7966EA #A89CF1 #D7D2F9

Accessibility & contrast

On white

4.28
#7966EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7966EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966EA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966EA#FFFFFF#000000##000000
##7966EA1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#017EEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#51849E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7966ea;
/* rgb */ color: rgb(121, 102, 234);
/* oklch */ color: oklch(59.7% 0.192 285.6);
Tailwind
colors: {
  custom: {
    50: '#a792f1',
    500: '#7966ea',
    950: '#000000',
  },
}
SCSS
$custom: #7966ea;
$custom-light: #a792f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7966ea",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 248.636,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.19157,
    "h": 285.6
  },
  "luminance": 0.19508
}

Semantic roles & 50–950 ramp

primary
#7966EA
secondary
#E5ECC0
accent
#D80DBB
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7966EA

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

Preview Lab → · Contrast checker → · Palette generator →

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