#7964CD#7964CD

#7964CD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.4% C 0.156 H 289.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7964CD
RGBrgb(121, 100, 205)
HSLhsl(252, 51%, 60%)
HSVhsv(252, 51%, 80%)
CMYKcmyk(41%, 51.2%, 0%, 19.6%)
CIE-LABlab(48.99, 33.50, -51.83)
CIE-LCHlch(48.99, 61.72, 302.88°)
OKLaboklab(57.39% 0.0528 -0.147)
OKLCHoklch(57.39% 0.156 289.8)
XYZxyz(23.4587, 17.5863, 59.9043)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964CD #B8CD64
analogous
#6484CD #7964CD #AE64CD
triadic
#7964CD #CD7964 #64CD79
tetradic
#7964CD #CD6484 #B8CD64 #64CDAE
square
#7964CD #CD6484 #B8CD64 #64CDAE
split-complementary
#7964CD #CDAE64 #84CD64
monochromatic
#3F2D8A #543BB8 #7964CD #A192DC #C9C1EB

Accessibility & contrast

On white

4.65
#7964CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7964CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7964CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964CD#FFFFFF#000000##FFFFFF
##7964CD1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3776D1
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#627A8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7964cd;
/* rgb */ color: rgb(121, 100, 205);
/* oklch */ color: oklch(57.4% 0.156 289.8);
Tailwind
colors: {
  custom: {
    50: '#a490dd',
    500: '#7964cd',
    950: '#000000',
  },
}
SCSS
$custom: #7964cd;
$custom-light: #a490dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7964cd",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 252,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57392,
    "c": 0.15623,
    "h": 289.8
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#7964CD
secondary
#D3DBB2
accent
#DB4DBE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7964CD

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

Preview Lab → · Contrast checker → · Palette generator →

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