#7964BB#7964BB

#7964BB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.3% C 0.132 H 292.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7964BB
RGBrgb(121, 100, 187)
HSLhsl(254, 39%, 56%)
HSVhsv(254, 47%, 73%)
CMYKcmyk(35.3%, 46.5%, 0%, 26.7%)
CIE-LABlab(47.96, 28.51, -43.10)
CIE-LCHlch(47.96, 51.68, 303.49°)
OKLaboklab(56.29% 0.051 -0.1215)
OKLCHoklch(56.29% 0.132 292.8)
XYZxyz(21.4096, 16.7667, 49.1124)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964BB #A6BB64
analogous
#647BBB #7964BB #A564BB
triadic
#7964BB #BB7964 #64BB79
tetradic
#7964BB #BB647B #A6BB64 #64BBA5
square
#7964BB #BB647B #A6BB64 #64BBA5
split-complementary
#7964BB #BBA564 #7BBB64
monochromatic
#423272 #5A459D #7964BB #9E8FCE #C3B9E0

Accessibility & contrast

On white

4.82
#7964BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7964BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7964BB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964BB#FFFFFF#000000##FFFFFF
##7964BB1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#697586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7964bb;
/* rgb */ color: rgb(121, 100, 187);
/* oklch */ color: oklch(56.3% 0.132 292.8);
Tailwind
colors: {
  custom: {
    50: '#a390d0',
    500: '#7964bb',
    950: '#000000',
  },
}
SCSS
$custom: #7964bb;
$custom-light: #a390d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7964bb",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 254.483,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.13174,
    "h": 292.8
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#7964BB
secondary
#C7CFAB
accent
#CF59B2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7964BB

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

Preview Lab → · Contrast checker → · Palette generator →

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