#7A64CF#7A64CF

#7A64CF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.6% C 0.159 H 290.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7A64CF
RGBrgb(122, 100, 207)
HSLhsl(252, 53%, 60%)
HSVhsv(252, 52%, 81%)
CMYKcmyk(41.1%, 51.7%, 0%, 18.8%)
CIE-LABlab(49.20, 34.31, -52.63)
CIE-LCHlch(49.20, 62.83, 303.10°)
OKLaboklab(57.61% 0.0542 -0.1494)
OKLCHoklch(57.61% 0.159 290)
XYZxyz(23.8426, 17.7562, 61.1904)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64CF #B9CF64
analogous
#6484CF #7A64CF #AF64CF
triadic
#7A64CF #CF7A64 #64CF7A
tetradic
#7A64CF #CF6484 #B9CF64 #64CFAF
square
#7A64CF #CF6484 #B9CF64 #64CFAF
split-complementary
#7A64CF #CFAF64 #84CF64
monochromatic
#402C8D #553ABC #7A64CF #A293DD #CAC1EC

Accessibility & contrast

On white

4.61
#7A64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7A64CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A64CF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64CF#FFFFFF#000000##FFFFFF
##7A64CF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3577D3
Deuteranopia (green-blind)
#3872CD
Tritanopia (blue-blind)
#627A90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a64cf;
/* rgb */ color: rgb(122, 100, 207);
/* oklch */ color: oklch(57.6% 0.159 290.0);
Tailwind
colors: {
  custom: {
    50: '#a590de',
    500: '#7a64cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a64cf;
$custom-light: #a590de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64cf",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 252.336,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57607,
    "c": 0.15891,
    "h": 290
  },
  "luminance": 0.17757
}

Semantic roles & 50–950 ramp

primary
#7A64CF
secondary
#D3DCB3
accent
#C025A0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7A64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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