#7A64DD#7A64DD

#7A64DD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.5% C 0.177 H 288.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A64DD
RGBrgb(122, 100, 221)
HSLhsl(251, 64%, 63%)
HSVhsv(251, 55%, 87%)
CMYKcmyk(44.8%, 54.8%, 0%, 13.3%)
CIE-LABlab(50.06, 38.28, -59.21)
CIE-LCHlch(50.06, 70.50, 302.88°)
OKLaboklab(58.53% 0.0548 -0.1687)
OKLCHoklch(58.53% 0.177 288)
XYZxyz(25.6306, 18.4714, 70.6075)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64DD #C7DD64
analogous
#648ADD #7A64DD #B664DD
triadic
#7A64DD #DD7A64 #64DD7A
tetradic
#7A64DD #DD648A #C7DD64 #64DDB6
square
#7A64DD #DD648A #C7DD64 #64DDB6
split-complementary
#7A64DD #DDB664 #8ADD64
monochromatic
#3B24A3 #4F32D2 #7A64DD #A596E8 #D0C8F3

Accessibility & contrast

On white

4.47
#7A64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7A64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A64DD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64DD#FFFFFF#000000##000000
##7A64DD1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#227AE1
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#5B7E97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a64dd;
/* rgb */ color: rgb(122, 100, 221);
/* oklch */ color: oklch(58.5% 0.177 288.0);
Tailwind
colors: {
  custom: {
    50: '#a691e8',
    500: '#7a64dd',
    950: '#000000',
  },
}
SCSS
$custom: #7a64dd;
$custom-light: #a691e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64dd",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 250.909,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58527,
    "c": 0.17738,
    "h": 288
  },
  "luminance": 0.18472
}

Semantic roles & 50–950 ramp

primary
#7A64DD
secondary
#DCE4B9
accent
#CC1AAB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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