#7A64F2#7A64F2

#7A64F2 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 60.0% C 0.204 H 285.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A64F2
RGBrgb(122, 100, 242)
HSLhsl(249, 85%, 67%)
HSVhsv(249, 59%, 95%)
CMYKcmyk(49.6%, 58.7%, 0%, 5.1%)
CIE-LABlab(51.45, 44.33, -68.77)
CIE-LCHlch(51.45, 81.82, 302.81°)
OKLaboklab(59.99% 0.0547 -0.1968)
OKLCHoklch(59.99% 0.204 285.5)
XYZxyz(28.6055, 19.6613, 86.2749)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64F2 #DCF264
analogous
#6495F2 #7A64F2 #C164F2
triadic
#7A64F2 #F27A64 #64F27A
tetradic
#7A64F2 #F26495 #DCF264 #64F2C1
square
#7A64F2 #F26495 #DCF264 #64F2C1
split-complementary
#7A64F2 #F2C164 #95F264
monochromatic
#2E11CB #4A2CED #7A64F2 #AA9CF7 #DBD5FB

Accessibility & contrast

On white

4.26
#7A64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7A64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A64F2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64F2#FFFFFF#000000##000000
##7A64F21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#4E85A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a64f2;
/* rgb */ color: rgb(122, 100, 242);
/* oklch */ color: oklch(60.0% 0.204 285.5);
Tailwind
colors: {
  custom: {
    50: '#a991f7',
    500: '#7a64f2',
    950: '#000000',
  },
}
SCSS
$custom: #7a64f2;
$custom-light: #a991f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64f2",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 249.296,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59994,
    "c": 0.20429,
    "h": 285.5
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

primary
#7A64F2
secondary
#E8EFC2
accent
#E105BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #7A64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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