#7964BD#7964BD

#7964BD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.4% C 0.134 H 292.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7964BD
RGBrgb(121, 100, 189)
HSLhsl(254, 40%, 57%)
HSVhsv(254, 47%, 74%)
CMYKcmyk(36%, 47.1%, 0%, 25.9%)
CIE-LABlab(48.07, 29.06, -44.08)
CIE-LCHlch(48.07, 52.80, 303.39°)
OKLaboklab(56.41% 0.0513 -0.1243)
OKLCHoklch(56.41% 0.134 292.4)
XYZxyz(21.6252, 16.8529, 50.2478)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964BD #A8BD64
analogous
#647CBD #7964BD #A564BD
triadic
#7964BD #BD7964 #64BD79
tetradic
#7964BD #BD647C #A8BD64 #64BDA5
square
#7964BD #BD647C #A8BD64 #64BDA5
split-complementary
#7964BD #BDA564 #7CBD64
monochromatic
#423275 #5A44A0 #7964BD #9E8FCF #C3BAE2

Accessibility & contrast

On white

4.80
#7964BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7964BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7964BD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964BD#FFFFFF#000000##FFFFFF
##7964BD1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573C0
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#687587
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7964bd;
/* rgb */ color: rgb(121, 100, 189);
/* oklch */ color: oklch(56.4% 0.134 292.4);
Tailwind
colors: {
  custom: {
    50: '#a390d1',
    500: '#7964bd',
    950: '#000000',
  },
}
SCSS
$custom: #7964bd;
$custom-light: #a390d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7964bd",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 254.157,
    "s": 40.271,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.13449,
    "h": 292.4
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#7964BD
secondary
#C8D1AC
accent
#D058B4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7964BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7964BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva