#7A64BB#7A64BB

#7A64BB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.4% C 0.132 H 293.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7A64BB
RGBrgb(122, 100, 187)
HSLhsl(255, 39%, 56%)
HSVhsv(255, 47%, 73%)
CMYKcmyk(34.8%, 46.5%, 0%, 26.7%)
CIE-LABlab(48.06, 28.78, -42.95)
CIE-LCHlch(48.06, 51.70, 303.83°)
OKLaboklab(56.38% 0.0523 -0.121)
OKLCHoklch(56.38% 0.132 293.4)
XYZxyz(21.5505, 16.8393, 49.1190)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64BB #A5BB64
analogous
#647ABB #7A64BB #A664BB
triadic
#7A64BB #BB7A64 #64BB7A
tetradic
#7A64BB #BB647A #A5BB64 #64BBA6
square
#7A64BB #BB647A #A5BB64 #64BBA6
split-complementary
#7A64BB #BBA664 #7ABB64
monochromatic
#423272 #5B459D #7A64BB #9F8FCE #C3B9E0

Accessibility & contrast

On white

4.81
#7A64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7A64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A64BB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64BB#FFFFFF#000000##FFFFFF
##7A64BB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#6B7586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a64bb;
/* rgb */ color: rgb(122, 100, 187);
/* oklch */ color: oklch(56.4% 0.132 293.4);
Tailwind
colors: {
  custom: {
    50: '#a390d0',
    500: '#7a64bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a64bb;
$custom-light: #a390d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64bb",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 255.172,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56383,
    "c": 0.13179,
    "h": 293.4
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#7A64BB
secondary
#C6CFAB
accent
#CF59B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7A64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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