#7C64EB#7C64EB

#7C64EB is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.195 H 287.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7C64EB
RGBrgb(124, 100, 235)
HSLhsl(251, 77%, 66%)
HSVhsv(251, 57%, 92%)
CMYKcmyk(47.2%, 57.4%, 0%, 7.8%)
CIE-LABlab(51.15, 42.71, -65.34)
CIE-LCHlch(51.15, 78.06, 303.17°)
OKLaboklab(59.66% 0.0574 -0.1867)
OKLCHoklch(59.66% 0.195 287.1)
XYZxyz(27.8604, 19.3964, 80.8570)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64EB #D3EB64
analogous
#648FEB #7C64EB #C064EB
triadic
#7C64EB #EB7C64 #64EB7C
tetradic
#7C64EB #EB648F #D3EB64 #64EBC0
square
#7C64EB #EB648F #D3EB64 #64EBC0
split-complementary
#7C64EB #EBC064 #8FEB64
monochromatic
#3518BC #4E2EE4 #7C64EB #AA9AF2 #D8D0F9

Accessibility & contrast

On white

4.30
#7C64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7C64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64EB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64EB#FFFFFF#000000##000000
##7C64EB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#57839E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7c64eb;
/* rgb */ color: rgb(124, 100, 235);
/* oklch */ color: oklch(59.7% 0.195 287.1);
Tailwind
colors: {
  custom: {
    50: '#a991f2',
    500: '#7c64eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c64eb;
$custom-light: #a991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64eb",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 250.667,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.19528,
    "h": 287.1
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#7C64EB
secondary
#E4ECBF
accent
#D90CB5
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7C64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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