#7A64DC#7A64DC

#7A64DC is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.176 H 288.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A64DC
RGBrgb(122, 100, 220)
HSLhsl(251, 63%, 63%)
HSVhsv(251, 55%, 86%)
CMYKcmyk(44.5%, 54.5%, 0%, 13.7%)
CIE-LABlab(50.00, 37.99, -58.75)
CIE-LCHlch(50.00, 69.96, 302.89°)
OKLaboklab(58.46% 0.0548 -0.1673)
OKLCHoklch(58.46% 0.176 288.1)
XYZxyz(25.4978, 18.4182, 69.9079)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64DC #C6DC64
analogous
#648ADC #7A64DC #B664DC
triadic
#7A64DC #DC7A64 #64DC7A
tetradic
#7A64DC #DC648A #C6DC64 #64DCB6
square
#7A64DC #DC648A #C6DC64 #64DCB6
split-complementary
#7A64DC #DCB664 #8ADC64
monochromatic
#3B24A1 #4F32D1 #7A64DC #A596E7 #D0C8F3

Accessibility & contrast

On white

4.48
#7A64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7A64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A64DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64DC#FFFFFF#000000##000000
##7A64DC1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#237AE0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#5C7E96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a64dc;
/* rgb */ color: rgb(122, 100, 220);
/* oklch */ color: oklch(58.5% 0.176 288.1);
Tailwind
colors: {
  custom: {
    50: '#a691e8',
    500: '#7a64dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a64dc;
$custom-light: #a691e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64dc",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 251,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.17608,
    "h": 288.1
  },
  "luminance": 0.18419
}

Semantic roles & 50–950 ramp

primary
#7A64DC
secondary
#DCE4B8
accent
#CB1BAB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A64DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7A64DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva