#7D64EB#7D64EB

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

Color values

HEX#7D64EB
RGBrgb(125, 100, 235)
HSLhsl(251, 77%, 66%)
HSVhsv(251, 57%, 92%)
CMYKcmyk(46.8%, 57.4%, 0%, 7.8%)
CIE-LABlab(51.23, 42.91, -65.20)
CIE-LCHlch(51.23, 78.05, 303.35°)
OKLaboklab(59.75% 0.0586 -0.1862)
OKLCHoklch(59.75% 0.195 287.5)
XYZxyz(28.0057, 19.4713, 80.8639)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64EB #D2EB64
analogous
#648EEB #7D64EB #C064EB
triadic
#7D64EB #EB7D64 #64EB7D
tetradic
#7D64EB #EB648E #D2EB64 #64EBC0
square
#7D64EB #EB648E #D2EB64 #64EBC0
split-complementary
#7D64EB #EBC064 #8EEB64
monochromatic
#3718BC #502EE4 #7D64EB #AA9AF2 #D8D0F9

Accessibility & contrast

On white

4.29
#7D64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7D64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64EB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64EB#FFFFFF#000000##000000
##7D64EB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d64eb;
/* rgb */ color: rgb(125, 100, 235);
/* oklch */ color: oklch(59.7% 0.195 287.5);
Tailwind
colors: {
  custom: {
    50: '#aa91f2',
    500: '#7d64eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d64eb;
$custom-light: #aa91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64eb",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 251.111,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59745,
    "c": 0.19523,
    "h": 287.5
  },
  "luminance": 0.19472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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