#7966AE#7966AE

#7966AE is a mid, moderate violet. Relative luminance 0.166; OKLCH L 55.9% C 0.110 H 294.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7966AE
RGBrgb(121, 102, 174)
HSLhsl(256, 31%, 54%)
HSVhsv(256, 41%, 68%)
CMYKcmyk(30.5%, 41.4%, 0%, 31.8%)
CIE-LABlab(47.78, 23.83, -35.82)
CIE-LCHlch(47.78, 43.02, 303.63°)
OKLaboklab(55.93% 0.0461 -0.1003)
OKLCHoklch(55.93% 0.11 294.7)
XYZxyz(20.2746, 16.6234, 42.1767)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7966AE #9BAE66
analogous
#6677AE #7966AE #9D66AE
triadic
#7966AE #AE7966 #66AE79
tetradic
#7966AE #AE6677 #9BAE66 #66AE9D
square
#7966AE #AE6677 #9BAE66 #66AE9D
split-complementary
#7966AE #AE9D66 #77AE66
monochromatic
#423564 #5C4A8C #7966AE #9C8EC3 #BFB6D8

Accessibility & contrast

On white

4.86
#7966AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7966AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7966AE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7966AE#FFFFFF#000000##FFFFFF
##7966AE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5172B1
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#6D7382
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7966ae;
/* rgb */ color: rgb(121, 102, 174);
/* oklch */ color: oklch(55.9% 0.110 294.7);
Tailwind
colors: {
  custom: {
    50: '#a192c6',
    500: '#7966ae',
    950: '#000000',
  },
}
SCSS
$custom: #7966ae;
$custom-light: #a192c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7966ae",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 174
  },
  "hsl": {
    "h": 255.833,
    "s": 30.769,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.11037,
    "h": 294.7
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#7966AE
secondary
#BFC7A9
accent
#C761AC
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0D13
muted
#7F7D82

Preview Lab

Preview with #7966AE

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

Preview Lab → · Contrast checker → · Palette generator →

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