#7966F3#7966F3

#7966F3 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.3% C 0.203 H 284.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7966F3
RGBrgb(121, 102, 243)
HSLhsl(248, 85%, 68%)
HSVhsv(248, 58%, 95%)
CMYKcmyk(50.2%, 58%, 0%, 4.7%)
CIE-LABlab(51.88, 43.28, -68.64)
CIE-LCHlch(51.88, 81.15, 302.23°)
OKLaboklab(60.31% 0.0514 -0.1965)
OKLCHoklch(60.31% 0.203 284.7)
XYZxyz(28.8093, 20.0373, 87.1262)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966F3 #E0F366
analogous
#6699F3 #7966F3 #BF66F3
triadic
#7966F3 #F37966 #66F379
tetradic
#7966F3 #F36699 #E0F366 #66F3BF
square
#7966F3 #F36699 #E0F366 #66F3BF
split-complementary
#7966F3 #F3BF66 #99F366
monochromatic
#2A10CE #472DEF #7966F3 #AB9FF7 #DCD7FC

Accessibility & contrast

On white

4.19
#7966F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7966F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966F3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966F3#FFFFFF#000000##000000
##7966F31.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#4B87A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7966f3;
/* rgb */ color: rgb(121, 102, 243);
/* oklch */ color: oklch(60.3% 0.203 284.7);
Tailwind
colors: {
  custom: {
    50: '#a892f8',
    500: '#7966f3',
    950: '#000000',
  },
}
SCSS
$custom: #7966f3;
$custom-light: #a892f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7966f3",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 248.085,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60309,
    "c": 0.20307,
    "h": 284.7
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#7966F3
secondary
#EAF0C5
accent
#E204C4
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7966F3

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

Preview Lab → · Contrast checker → · Palette generator →

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