#7966DD#7966DD

#7966DD is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.8% C 0.175 H 287.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7966DD
RGBrgb(121, 102, 221)
HSLhsl(250, 64%, 63%)
HSVhsv(250, 54%, 87%)
CMYKcmyk(45.2%, 53.8%, 0%, 13.3%)
CIE-LABlab(50.44, 36.89, -58.61)
CIE-LCHlch(50.44, 69.25, 302.18°)
OKLaboklab(58.78% 0.0513 -0.167)
OKLCHoklch(58.78% 0.175 287.1)
XYZxyz(25.6839, 18.7871, 70.6656)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966DD #CADD66
analogous
#668EDD #7966DD #B466DD
triadic
#7966DD #DD7966 #66DD79
tetradic
#7966DD #DD668E #CADD66 #66DDB4
square
#7966DD #DD668E #CADD66 #66DDB4
split-complementary
#7966DD #DDB466 #8EDD66
monochromatic
#3924A4 #4D34D2 #7966DD #A598E8 #D1CAF3

Accessibility & contrast

On white

4.41
#7966DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7966DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966DD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966DD#FFFFFF#000000##000000
##7966DD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE1
Deuteranopia (green-blind)
#2675DA
Tritanopia (blue-blind)
#598098
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7966dd;
/* rgb */ color: rgb(121, 102, 221);
/* oklch */ color: oklch(58.8% 0.175 287.1);
Tailwind
colors: {
  custom: {
    50: '#a692e8',
    500: '#7966dd',
    950: '#000000',
  },
}
SCSS
$custom: #7966dd;
$custom-light: #a692e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7966dd",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 249.58,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.17466,
    "h": 287.1
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#7966DD
secondary
#DEE5BA
accent
#CB1AAF
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7966DD

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

Preview Lab → · Contrast checker → · Palette generator →

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