#7A64DF#7A64DF

#7A64DF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.180 H 287.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7A64DF
RGBrgb(122, 100, 223)
HSLhsl(251, 66%, 63%)
HSVhsv(251, 55%, 87%)
CMYKcmyk(45.3%, 55.2%, 0%, 12.5%)
CIE-LABlab(50.19, 38.85, -60.14)
CIE-LCHlch(50.19, 71.59, 302.86°)
OKLaboklab(58.66% 0.0549 -0.1714)
OKLCHoklch(58.66% 0.18 287.8)
XYZxyz(25.8987, 18.5786, 72.0192)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64DF #C9DF64
analogous
#648BDF #7A64DF #B764DF
triadic
#7A64DF #DF7A64 #64DF7A
tetradic
#7A64DF #DF648B #C9DF64 #64DFB7
square
#7A64DF #DF648B #C9DF64 #64DFB7
split-complementary
#7A64DF #DFB764 #8BDF64
monochromatic
#3A22A6 #4E31D5 #7A64DF #A697E9 #D1C9F4

Accessibility & contrast

On white

4.45
#7A64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7A64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A64DF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64DF#FFFFFF#000000##000000
##7A64DF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7AE3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#5A7F98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a64df;
/* rgb */ color: rgb(122, 100, 223);
/* oklch */ color: oklch(58.7% 0.180 287.8);
Tailwind
colors: {
  custom: {
    50: '#a791ea',
    500: '#7a64df',
    950: '#000000',
  },
}
SCSS
$custom: #7a64df;
$custom-light: #a791ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64df",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 250.732,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58662,
    "c": 0.17998,
    "h": 287.8
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#7A64DF
secondary
#DDE5B9
accent
#CE18AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7A64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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