#7D64E8#7D64E8

#7D64E8 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.5% C 0.191 H 287.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7D64E8
RGBrgb(125, 100, 232)
HSLhsl(251, 74%, 65%)
HSVhsv(251, 57%, 91%)
CMYKcmyk(46.1%, 56.9%, 0%, 9%)
CIE-LABlab(51.04, 42.06, -63.83)
CIE-LCHlch(51.04, 76.44, 303.38°)
OKLaboklab(59.54% 0.0587 -0.1822)
OKLCHoklch(59.54% 0.191 287.8)
XYZxyz(27.5759, 19.2994, 78.6005)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64E8 #CFE864
analogous
#648DE8 #7D64E8 #BF64E8
triadic
#7D64E8 #E87D64 #64E87D
tetradic
#7D64E8 #E8648D #CFE864 #64E8BF
square
#7D64E8 #E8648D #CFE864 #64E8BF
split-complementary
#7D64E8 #E8BF64 #8DE864
monochromatic
#391BB7 #502FE0 #7D64E8 #AA99F0 #D6CFF8

Accessibility & contrast

On white

4.32
#7D64E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7D64E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64E8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64E8#FFFFFF#000000##000000
##7D64E81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEC
Deuteranopia (green-blind)
#0376E5
Tritanopia (blue-blind)
#5B829C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d64e8;
/* rgb */ color: rgb(125, 100, 232);
/* oklch */ color: oklch(59.5% 0.191 287.8);
Tailwind
colors: {
  custom: {
    50: '#a991f0',
    500: '#7d64e8',
    950: '#000000',
  },
}
SCSS
$custom: #7d64e8;
$custom-light: #a991f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64e8",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 251.364,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59536,
    "c": 0.19141,
    "h": 287.8
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#7D64E8
secondary
#E2EABE
accent
#D60FB1
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7D64E8

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

Preview Lab → · Contrast checker → · Palette generator →

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