#7D64E5#7D64E5

#7D64E5 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.188 H 288.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7D64E5
RGBrgb(125, 100, 229)
HSLhsl(252, 71%, 65%)
HSVhsv(252, 56%, 90%)
CMYKcmyk(45.4%, 56.3%, 0%, 10.2%)
CIE-LABlab(50.84, 41.20, -62.46)
CIE-LCHlch(50.84, 74.83, 303.41°)
OKLaboklab(59.33% 0.0587 -0.1782)
OKLCHoklch(59.33% 0.188 288.2)
XYZxyz(27.1534, 19.1304, 76.3754)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64E5 #CCE564
analogous
#648CE5 #7D64E5 #BE64E5
triadic
#7D64E5 #E57D64 #64E57D
tetradic
#7D64E5 #E5648C #CCE564 #64E5BE
square
#7D64E5 #E5648C #CCE564 #64E5BE
split-complementary
#7D64E5 #E5BE64 #8CE564
monochromatic
#3A1EB1 #5130DC #7D64E5 #A998EE #D5CDF7

Accessibility & contrast

On white

4.35
#7D64E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7D64E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64E5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64E5#FFFFFF#000000##000000
##7D64E51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7CE9
Deuteranopia (green-blind)
#1376E2
Tritanopia (blue-blind)
#5C819B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d64e5;
/* rgb */ color: rgb(125, 100, 229);
/* oklch */ color: oklch(59.3% 0.188 288.2);
Tailwind
colors: {
  custom: {
    50: '#a991ee',
    500: '#7d64e5',
    950: '#000000',
  },
}
SCSS
$custom: #7d64e5;
$custom-light: #a991ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64e5",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 251.628,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59329,
    "c": 0.18758,
    "h": 288.2
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#7D64E5
secondary
#E0E9BC
accent
#D312AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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