#7A64BC#7A64BC

#7A64BC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.4% C 0.133 H 293.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7A64BC
RGBrgb(122, 100, 188)
HSLhsl(255, 40%, 56%)
HSVhsv(255, 47%, 74%)
CMYKcmyk(35.1%, 46.8%, 0%, 26.3%)
CIE-LABlab(48.11, 29.05, -43.44)
CIE-LCHlch(48.11, 52.26, 303.78°)
OKLaboklab(56.44% 0.0524 -0.1224)
OKLCHoklch(56.44% 0.133 293.2)
XYZxyz(21.6580, 16.8823, 49.6847)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64BC #A6BC64
analogous
#647ABC #7A64BC #A664BC
triadic
#7A64BC #BC7A64 #64BC7A
tetradic
#7A64BC #BC647A #A6BC64 #64BCA6
square
#7A64BC #BC647A #A6BC64 #64BCA6
split-complementary
#7A64BC #BCA664 #7ABC64
monochromatic
#423274 #5B449E #7A64BC #9F8FCE #C3B9E1

Accessibility & contrast

On white

4.80
#7A64BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7A64BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A64BC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64BC#FFFFFF#000000##FFFFFF
##7A64BC1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BF
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#6A7587
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a64bc;
/* rgb */ color: rgb(122, 100, 188);
/* oklch */ color: oklch(56.4% 0.133 293.2);
Tailwind
colors: {
  custom: {
    50: '#a390d0',
    500: '#7a64bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a64bc;
$custom-light: #a390d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64bc",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 255,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.13316,
    "h": 293.2
  },
  "luminance": 0.16883
}

Semantic roles & 50–950 ramp

primary
#7A64BC
secondary
#C7D0AC
accent
#D058B2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7A64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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