#7C64EE#7C64EE

#7C64EE is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.9% C 0.199 H 286.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7C64EE
RGBrgb(124, 100, 238)
HSLhsl(250, 80%, 66%)
HSVhsv(250, 58%, 93%)
CMYKcmyk(47.9%, 58%, 0%, 6.7%)
CIE-LABlab(51.35, 43.57, -66.70)
CIE-LCHlch(51.35, 79.67, 303.15°)
OKLaboklab(59.87% 0.0573 -0.1906)
OKLCHoklch(59.87% 0.199 286.7)
XYZxyz(28.2975, 19.5712, 83.1589)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64EE #D6EE64
analogous
#6491EE #7C64EE #C164EE
triadic
#7C64EE #EE7C64 #64EE7C
tetradic
#7C64EE #EE6491 #D6EE64 #64EEC1
square
#7C64EE #EE6491 #D6EE64 #64EEC1
split-complementary
#7C64EE #EEC164 #91EE64
monochromatic
#3315C2 #4D2DE8 #7C64EE #AB9BF4 #D9D2FA

Accessibility & contrast

On white

4.27
#7C64EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7C64EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64EE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64EE#FFFFFF#000000##000000
##7C64EE1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#55849F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7c64ee;
/* rgb */ color: rgb(124, 100, 238);
/* oklch */ color: oklch(59.9% 0.199 286.7);
Tailwind
colors: {
  custom: {
    50: '#aa91f4',
    500: '#7c64ee',
    950: '#000000',
  },
}
SCSS
$custom: #7c64ee;
$custom-light: #aa91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64ee",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 238
  },
  "hsl": {
    "h": 250.435,
    "s": 80.233,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.19908,
    "h": 286.7
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#7C64EE
secondary
#E6EDC0
accent
#DD09B8
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110D17
muted
#807D85

Preview Lab

Preview with #7C64EE

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

Preview Lab → · Contrast checker → · Palette generator →

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