#7D64EC#7D64EC

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

Color values

HEX#7D64EC
RGBrgb(125, 100, 236)
HSLhsl(251, 78%, 66%)
HSVhsv(251, 58%, 93%)
CMYKcmyk(47%, 57.6%, 0%, 7.5%)
CIE-LABlab(51.30, 43.20, -65.65)
CIE-LCHlch(51.30, 78.59, 303.35°)
OKLaboklab(59.82% 0.0586 -0.1875)
OKLCHoklch(59.82% 0.196 287.4)
XYZxyz(28.1506, 19.5292, 81.6269)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64EC #D3EC64
analogous
#648FEC #7D64EC #C164EC
triadic
#7D64EC #EC7D64 #64EC7D
tetradic
#7D64EC #EC648F #D3EC64 #64ECC1
square
#7D64EC #EC648F #D3EC64 #64ECC1
split-complementary
#7D64EC #ECC164 #8FEC64
monochromatic
#3617BE #4F2DE5 #7D64EC #AB9BF3 #D8D1F9

Accessibility & contrast

On white

4.28
#7D64EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D64EC#FFFFFF#000000##000000
##7D64EC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#58839E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d64ec;
/* rgb */ color: rgb(125, 100, 236);
/* oklch */ color: oklch(59.8% 0.196 287.4);
Tailwind
colors: {
  custom: {
    50: '#aa91f3',
    500: '#7d64ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d64ec;
$custom-light: #aa91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64ec",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 251.029,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.19649,
    "h": 287.4
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#7D64EC
secondary
#E4ECBF
accent
#DA0BB4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7D64EC

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

Preview Lab → · Contrast checker → · Palette generator →

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