#7966BF#7966BF

#7966BF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 56.9% C 0.134 H 291.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7966BF
RGBrgb(121, 102, 191)
HSLhsl(253, 41%, 57%)
HSVhsv(253, 47%, 75%)
CMYKcmyk(36.6%, 46.6%, 0%, 25.1%)
CIE-LABlab(48.67, 28.41, -44.29)
CIE-LCHlch(48.67, 52.62, 302.68°)
OKLaboklab(56.89% 0.0489 -0.1249)
OKLCHoklch(56.89% 0.134 291.4)
XYZxyz(22.0380, 17.3287, 51.4638)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966BF #ACBF66
analogous
#667FBF #7966BF #A666BF
triadic
#7966BF #BF7966 #66BF79
tetradic
#7966BF #BF667F #ACBF66 #66BFA6
square
#7966BF #BF667F #ACBF66 #66BFA6
split-complementary
#7966BF #BFA666 #7FBF66
monochromatic
#413278 #5944A3 #7966BF #9F91D1 #C5BCE3

Accessibility & contrast

On white

4.70
#7966BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7966BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7966BF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966BF#FFFFFF#000000##FFFFFF
##7966BF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#677789
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7966bf;
/* rgb */ color: rgb(121, 102, 191);
/* oklch */ color: oklch(56.9% 0.134 291.4);
Tailwind
colors: {
  custom: {
    50: '#a392d3',
    500: '#7966bf',
    950: '#000000',
  },
}
SCSS
$custom: #7966bf;
$custom-light: #a392d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7966bf",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 252.809,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.13415,
    "h": 291.4
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#7966BF
secondary
#CBD2AE
accent
#D157B7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0D14
muted
#7F7D83

Preview Lab

Preview with #7966BF

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

Preview Lab → · Contrast checker → · Palette generator →

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