#7D64C7#7D64C7

#7D64C7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.4% C 0.148 H 292.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D64C7
RGBrgb(125, 100, 199)
HSLhsl(255, 47%, 59%)
HSVhsv(255, 50%, 78%)
CMYKcmyk(37.2%, 49.7%, 0%, 22%)
CIE-LABlab(49.00, 32.83, -48.35)
CIE-LCHlch(49.00, 58.44, 304.18°)
OKLaboklab(57.38% 0.0573 -0.1367)
OKLCHoklch(57.38% 0.148 292.8)
XYZxyz(23.3207, 17.5973, 56.1897)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64C7 #AEC764
analogous
#647CC7 #7D64C7 #AE64C7
triadic
#7D64C7 #C77D64 #64C77D
tetradic
#7D64C7 #C7647C #AEC764 #64C7AE
square
#7D64C7 #C7647C #AEC764 #64C7AE
split-complementary
#7D64C7 #C7AE64 #7CC764
monochromatic
#442F82 #5B3FAF #7D64C7 #A391D7 #C8BEE7

Accessibility & contrast

On white

4.65
#7D64C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7D64C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64C7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64C7#FFFFFF#000000##FFFFFF
##7D64C71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CA
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#6B788C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d64c7;
/* rgb */ color: rgb(125, 100, 199);
/* oklch */ color: oklch(57.4% 0.148 292.8);
Tailwind
colors: {
  custom: {
    50: '#a690d8',
    500: '#7d64c7',
    950: '#000000',
  },
}
SCSS
$custom: #7d64c7;
$custom-light: #a690d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64c7",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 199
  },
  "hsl": {
    "h": 255.152,
    "s": 46.919,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.14824,
    "h": 292.8
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#7D64C7
secondary
#CDD7B0
accent
#D751B5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D64C7

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

Preview Lab → · Contrast checker → · Palette generator →

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