#7A64FB#7A64FB

#7A64FB is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.7% C 0.216 H 284.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7A64FB
RGBrgb(122, 100, 251)
HSLhsl(249, 95%, 69%)
HSVhsv(249, 60%, 98%)
CMYKcmyk(51.4%, 60.2%, 0%, 1.6%)
CIE-LABlab(52.08, 46.95, -72.77)
CIE-LCHlch(52.08, 86.60, 302.83°)
OKLaboklab(60.65% 0.0543 -0.2086)
OKLCHoklch(60.65% 0.216 284.6)
XYZxyz(29.9906, 20.2154, 93.5698)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64FB #E5FB64
analogous
#649AFB #7A64FB #C664FB
triadic
#7A64FB #FB7A64 #64FB7A
tetradic
#7A64FB #FB649A #E5FB64 #64FBC6
square
#7A64FB #FB649A #E5FB64 #64FBC6
split-complementary
#7A64FB #FBC664 #9AFB64
monochromatic
#2506DF #4728F9 #7A64FB #ADA0FD #E0DBFE

Accessibility & contrast

On white

4.16
#7A64FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7A64FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A64FB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64FB#FFFFFF#000000##000000
##7A64FB1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#4688A6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7a64fb;
/* rgb */ color: rgb(122, 100, 251);
/* oklch */ color: oklch(60.7% 0.216 284.6);
Tailwind
colors: {
  custom: {
    50: '#aa91fe',
    500: '#7a64fb',
    950: '#000000',
  },
}
SCSS
$custom: #7a64fb;
$custom-light: #aa91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64fb",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 248.742,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.21553,
    "h": 284.6
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#7A64FB
secondary
#EDF4C7
accent
#E600C4
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7A64FB

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

Preview Lab → · Contrast checker → · Palette generator →

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