#7966DB#7966DB

#7966DB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.7% C 0.172 H 287.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7966DB
RGBrgb(121, 102, 219)
HSLhsl(250, 62%, 63%)
HSVhsv(250, 53%, 86%)
CMYKcmyk(44.7%, 53.4%, 0%, 14.1%)
CIE-LABlab(50.31, 36.31, -57.68)
CIE-LCHlch(50.31, 68.16, 302.19°)
OKLaboklab(58.65% 0.0512 -0.1642)
OKLCHoklch(58.65% 0.172 287.3)
XYZxyz(25.4190, 18.6812, 69.2706)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966DB #C8DB66
analogous
#668DDB #7966DB #B466DB
triadic
#7966DB #DB7966 #66DB79
tetradic
#7966DB #DB668D #C8DB66 #66DBB4
square
#7966DB #DB668D #C8DB66 #66DBB4
split-complementary
#7966DB #DBB466 #8DDB66
monochromatic
#3A26A1 #4E34CF #7966DB #A498E7 #D0C9F2

Accessibility & contrast

On white

4.43
#7966DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7966DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7966DB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966DB#FFFFFF#000000##000000
##7966DB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BDF
Deuteranopia (green-blind)
#2A75D8
Tritanopia (blue-blind)
#5A7F97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7966db;
/* rgb */ color: rgb(121, 102, 219);
/* oklch */ color: oklch(58.7% 0.172 287.3);
Tailwind
colors: {
  custom: {
    50: '#a592e7',
    500: '#7966db',
    950: '#000000',
  },
}
SCSS
$custom: #7966db;
$custom-light: #a592e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7966db",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 249.744,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5865,
    "c": 0.17202,
    "h": 287.3
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

primary
#7966DB
secondary
#DDE3B9
accent
#CA1CAD
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7966DB

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

Preview Lab → · Contrast checker → · Palette generator →

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