#7A64DB#7A64DB

#7A64DB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.4% C 0.175 H 288.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7A64DB
RGBrgb(122, 100, 219)
HSLhsl(251, 62%, 63%)
HSVhsv(251, 54%, 86%)
CMYKcmyk(44.3%, 54.3%, 0%, 14.1%)
CIE-LABlab(49.94, 37.71, -58.28)
CIE-LCHlch(49.94, 69.41, 302.90°)
OKLaboklab(58.39% 0.0548 -0.166)
OKLCHoklch(58.39% 0.175 288.3)
XYZxyz(25.3658, 18.3654, 69.2125)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64DB #C5DB64
analogous
#648ADB #7A64DB #B564DB
triadic
#7A64DB #DB7A64 #64DB7A
tetradic
#7A64DB #DB648A #C5DB64 #64DBB5
square
#7A64DB #DB648A #C5DB64 #64DBB5
split-complementary
#7A64DB #DBB564 #8ADB64
monochromatic
#3C25A0 #4F32CF #7A64DB #A596E7 #CFC7F2

Accessibility & contrast

On white

4.49
#7A64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7A64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A64DB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64DB#FFFFFF#000000##000000
##7A64DB1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2579DF
Deuteranopia (green-blind)
#2674D8
Tritanopia (blue-blind)
#5C7E96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a64db;
/* rgb */ color: rgb(122, 100, 219);
/* oklch */ color: oklch(58.4% 0.175 288.3);
Tailwind
colors: {
  custom: {
    50: '#a691e7',
    500: '#7a64db',
    950: '#000000',
  },
}
SCSS
$custom: #7a64db;
$custom-light: #a691e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64db",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 251.092,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.17477,
    "h": 288.3
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#7A64DB
secondary
#DBE3B8
accent
#CA1BAA
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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