#7A64F5#7A64F5

#7A64F5 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.2% C 0.208 H 285.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7A64F5
RGBrgb(122, 100, 245)
HSLhsl(249, 88%, 68%)
HSVhsv(249, 59%, 96%)
CMYKcmyk(50.2%, 59.2%, 0%, 3.9%)
CIE-LABlab(51.66, 45.20, -70.11)
CIE-LCHlch(51.66, 83.42, 302.81°)
OKLaboklab(60.21% 0.0546 -0.2008)
OKLCHoklch(60.21% 0.208 285.2)
XYZxyz(29.0597, 19.8430, 88.6674)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64F5 #DFF564
analogous
#6497F5 #7A64F5 #C264F5
triadic
#7A64F5 #F57A64 #64F57A
tetradic
#7A64F5 #F56497 #DFF564 #64F5C2
square
#7A64F5 #F56497 #DFF564 #64F5C2
split-complementary
#7A64F5 #F5C264 #97F564
monochromatic
#2B0DD1 #492BF1 #7A64F5 #AB9DF9 #DDD7FC

Accessibility & contrast

On white

4.23
#7A64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7A64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A64F5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64F5#FFFFFF#000000##000000
##7A64F51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#4C86A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a64f5;
/* rgb */ color: rgb(122, 100, 245);
/* oklch */ color: oklch(60.2% 0.208 285.2);
Tailwind
colors: {
  custom: {
    50: '#a991f9',
    500: '#7a64f5',
    950: '#000000',
  },
}
SCSS
$custom: #7a64f5;
$custom-light: #a991f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64f5",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 249.103,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60211,
    "c": 0.20805,
    "h": 285.2
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#7A64F5
secondary
#EAF1C4
accent
#E401C2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #7A64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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