#7966F2#7966F2

#7966F2 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.2% C 0.202 H 284.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7966F2
RGBrgb(121, 102, 242)
HSLhsl(248, 84%, 67%)
HSVhsv(248, 58%, 95%)
CMYKcmyk(50%, 57.9%, 0%, 5.1%)
CIE-LABlab(51.81, 42.99, -68.20)
CIE-LCHlch(51.81, 80.62, 302.23°)
OKLaboklab(60.24% 0.0514 -0.1951)
OKLCHoklch(60.24% 0.202 284.8)
XYZxyz(28.6588, 19.9770, 86.3330)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966F2 #DFF266
analogous
#6699F2 #7966F2 #BF66F2
triadic
#7966F2 #F27966 #66F279
tetradic
#7966F2 #F26699 #DFF266 #66F2BF
square
#7966F2 #F26699 #DFF266 #66F2BF
split-complementary
#7966F2 #F2BF66 #99F266
monochromatic
#2B11CC #482EED #7966F2 #AA9EF7 #DCD7FC

Accessibility & contrast

On white

4.20
#7966F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7966F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966F2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966F2#FFFFFF#000000##000000
##7966F21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#4B86A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7966f2;
/* rgb */ color: rgb(121, 102, 242);
/* oklch */ color: oklch(60.2% 0.202 284.8);
Tailwind
colors: {
  custom: {
    50: '#a892f7',
    500: '#7966f2',
    950: '#000000',
  },
}
SCSS
$custom: #7966f2;
$custom-light: #a892f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7966f2",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 248.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60237,
    "c": 0.2018,
    "h": 284.8
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#7966F2
secondary
#EAF0C4
accent
#E105C3
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7966F2

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

Preview Lab → · Contrast checker → · Palette generator →

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