#7C64EA#7C64EA

#7C64EA is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.6% C 0.194 H 287.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7C64EA
RGBrgb(124, 100, 234)
HSLhsl(251, 76%, 65%)
HSVhsv(251, 57%, 92%)
CMYKcmyk(47%, 57.3%, 0%, 8.2%)
CIE-LABlab(51.08, 42.42, -64.89)
CIE-LCHlch(51.08, 77.52, 303.18°)
OKLaboklab(59.59% 0.0574 -0.1853)
OKLCHoklch(59.59% 0.194 287.2)
XYZxyz(27.7163, 19.3387, 80.0983)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64EA #D2EA64
analogous
#648FEA #7C64EA #BF64EA
triadic
#7C64EA #EA7C64 #64EA7C
tetradic
#7C64EA #EA648F #D2EA64 #64EABF
square
#7C64EA #EA648F #D2EA64 #64EABF
split-complementary
#7C64EA #EABF64 #8FEA64
monochromatic
#3619BA #4E2EE3 #7C64EA #AA9AF1 #D7D0F9

Accessibility & contrast

On white

4.31
#7C64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7C64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64EA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64EA#FFFFFF#000000##000000
##7C64EA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#57829D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7c64ea;
/* rgb */ color: rgb(124, 100, 234);
/* oklch */ color: oklch(59.6% 0.194 287.2);
Tailwind
colors: {
  custom: {
    50: '#a991f2',
    500: '#7c64ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c64ea;
$custom-light: #a991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64ea",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 250.746,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.19402,
    "h": 287.2
  },
  "luminance": 0.1934
}

Semantic roles & 50–950 ramp

primary
#7C64EA
secondary
#E3EBBE
accent
#D80DB4
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7C64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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