#7964C8#7964C8

#7964C8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.149 H 290.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7964C8
RGBrgb(121, 100, 200)
HSLhsl(253, 48%, 59%)
HSVhsv(253, 50%, 78%)
CMYKcmyk(39.5%, 50%, 0%, 21.6%)
CIE-LABlab(48.70, 32.10, -49.43)
CIE-LCHlch(48.70, 58.94, 303.00°)
OKLaboklab(57.08% 0.0524 -0.14)
OKLCHoklch(57.08% 0.15 290.5)
XYZxyz(22.8648, 17.3488, 56.7763)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964C8 #B3C864
analogous
#6481C8 #7964C8 #AB64C8
triadic
#7964C8 #C87964 #64C879
tetradic
#7964C8 #C86481 #B3C864 #64C8AB
square
#7964C8 #C86481 #B3C864 #64C8AB
split-complementary
#7964C8 #C8AB64 #81C864
monochromatic
#402F83 #563FB0 #7964C8 #A091D8 #C7BEE8

Accessibility & contrast

On white

4.70
#7964C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7964C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7964C8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964C8#FFFFFF#000000##FFFFFF
##7964C81.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)
#3C75CC
Deuteranopia (green-blind)
#3E71C6
Tritanopia (blue-blind)
#64788D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7964c8;
/* rgb */ color: rgb(121, 100, 200);
/* oklch */ color: oklch(57.1% 0.149 290.5);
Tailwind
colors: {
  custom: {
    50: '#a490d9',
    500: '#7964c8',
    950: '#000000',
  },
}
SCSS
$custom: #7964c8;
$custom-light: #a490d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7964c8",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 252.6,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57077,
    "c": 0.1495,
    "h": 290.5
  },
  "luminance": 0.17349
}

Semantic roles & 50–950 ramp

primary
#7964C8
secondary
#CFD8B0
accent
#D751BB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7964C8

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

Preview Lab → · Contrast checker → · Palette generator →

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