#7A64F6#7A64F6

#7A64F6 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 60.3% C 0.209 H 285.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7A64F6
RGBrgb(122, 100, 246)
HSLhsl(249, 89%, 68%)
HSVhsv(249, 59%, 96%)
CMYKcmyk(50.4%, 59.3%, 0%, 3.5%)
CIE-LABlab(51.73, 45.49, -70.56)
CIE-LCHlch(51.73, 83.95, 302.81°)
OKLaboklab(60.28% 0.0546 -0.2021)
OKLCHoklch(60.28% 0.209 285.1)
XYZxyz(29.2128, 19.9042, 89.4735)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64F6 #E0F664
analogous
#6497F6 #7A64F6 #C364F6
triadic
#7A64F6 #F67A64 #64F67A
tetradic
#7A64F6 #F66497 #E0F664 #64F6C3
square
#7A64F6 #F66497 #E0F664 #64F6C3
split-complementary
#7A64F6 #F6C364 #97F664
monochromatic
#2A0CD3 #482AF3 #7A64F6 #AC9EF9 #DDD8FD

Accessibility & contrast

On white

4.22
#7A64F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7A64F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A64F6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64F6#FFFFFF#000000##000000
##7A64F61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#4B86A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a64f6;
/* rgb */ color: rgb(122, 100, 246);
/* oklch */ color: oklch(60.3% 0.209 285.1);
Tailwind
colors: {
  custom: {
    50: '#a991fa',
    500: '#7a64f6',
    950: '#000000',
  },
}
SCSS
$custom: #7a64f6;
$custom-light: #a991fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64f6",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 249.041,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.2093,
    "h": 285.1
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#7A64F6
secondary
#EBF1C4
accent
#E600C3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A64F6

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

Preview Lab → · Contrast checker → · Palette generator →

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