#7964CB#7964CB

#7964CB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.3% C 0.154 H 290.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7964CB
RGBrgb(121, 100, 203)
HSLhsl(252, 50%, 59%)
HSVhsv(252, 51%, 80%)
CMYKcmyk(40.4%, 50.7%, 0%, 20.4%)
CIE-LABlab(48.87, 32.94, -50.87)
CIE-LCHlch(48.87, 60.61, 302.92°)
OKLaboklab(57.27% 0.0527 -0.1442)
OKLCHoklch(57.27% 0.154 290.1)
XYZxyz(23.2189, 17.4904, 58.6410)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964CB #B6CB64
analogous
#6483CB #7964CB #AD64CB
triadic
#7964CB #CB7964 #64CB79
tetradic
#7964CB #CB6483 #B6CB64 #64CBAD
square
#7964CB #CB6483 #B6CB64 #64CBAD
split-complementary
#7964CB #CBAD64 #83CB64
monochromatic
#402D87 #553DB5 #7964CB #A192DA #C8C0EA

Accessibility & contrast

On white

4.67
#7964CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7964CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7964CB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964CB#FFFFFF#000000##FFFFFF
##7964CB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#63798E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7964cb;
/* rgb */ color: rgb(121, 100, 203);
/* oklch */ color: oklch(57.3% 0.154 290.1);
Tailwind
colors: {
  custom: {
    50: '#a490db',
    500: '#7964cb',
    950: '#000000',
  },
}
SCSS
$custom: #7964cb;
$custom-light: #a490db;
$custom-dark: #000000;
JSON
{
  "hex": "#7964cb",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 252.233,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.15355,
    "h": 290.1
  },
  "luminance": 0.17491
}

Semantic roles & 50–950 ramp

primary
#7964CB
secondary
#D1D9B1
accent
#D94FBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7964CB

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

Preview Lab → · Contrast checker → · Palette generator →

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