#7964D8#7964D8

#7964D8 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.1% C 0.171 H 288.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7964D8
RGBrgb(121, 100, 216)
HSLhsl(251, 60%, 62%)
HSVhsv(251, 54%, 85%)
CMYKcmyk(44%, 53.7%, 0%, 15.3%)
CIE-LABlab(49.66, 36.63, -57.03)
CIE-LCHlch(49.66, 67.77, 302.71°)
OKLaboklab(58.11% 0.0534 -0.1623)
OKLCHoklch(58.11% 0.171 288.2)
XYZxyz(24.8335, 18.1362, 67.1446)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964D8 #C3D864
analogous
#6489D8 #7964D8 #B364D8
triadic
#7964D8 #D87964 #64D879
tetradic
#7964D8 #D86489 #C3D864 #64D8B3
square
#7964D8 #D86489 #C3D864 #64D8B3
split-complementary
#7964D8 #D8B364 #89D864
monochromatic
#3C279B #4F33CC #7964D8 #A395E4 #CEC6F1

Accessibility & contrast

On white

4.54
#7964D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7964D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7964D8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964D8#FFFFFF#000000##000000
##7964D81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DC
Deuteranopia (green-blind)
#2A73D5
Tritanopia (blue-blind)
#5C7D94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7964d8;
/* rgb */ color: rgb(121, 100, 216);
/* oklch */ color: oklch(58.1% 0.171 288.2);
Tailwind
colors: {
  custom: {
    50: '#a590e5',
    500: '#7964d8',
    950: '#000000',
  },
}
SCSS
$custom: #7964d8;
$custom-light: #a590e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7964d8",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 250.862,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58106,
    "c": 0.17087,
    "h": 288.2
  },
  "luminance": 0.18137
}

Semantic roles & 50–950 ramp

primary
#7964D8
secondary
#DAE1B7
accent
#C71EA9
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7964D8

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

Preview Lab → · Contrast checker → · Palette generator →

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