#7D64C3#7D64C3

#7D64C3 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.1% C 0.143 H 293.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D64C3
RGBrgb(125, 100, 195)
HSLhsl(256, 44%, 58%)
HSVhsv(256, 49%, 76%)
CMYKcmyk(35.9%, 48.7%, 0%, 23.5%)
CIE-LABlab(48.78, 31.74, -46.41)
CIE-LCHlch(48.78, 56.22, 304.37°)
OKLaboklab(57.13% 0.0569 -0.131)
OKLCHoklch(57.13% 0.143 293.5)
XYZxyz(22.8624, 17.4140, 53.7759)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64C3 #AAC364
analogous
#647BC3 #7D64C3 #AC64C3
triadic
#7D64C3 #C37D64 #64C37D
tetradic
#7D64C3 #C3647B #AAC364 #64C3AC
square
#7D64C3 #C3647B #AAC364 #64C3AC
split-complementary
#7D64C3 #C3AC64 #7BC364
monochromatic
#44307C #5C41A9 #7D64C3 #A290D4 #C7BCE5

Accessibility & contrast

On white

4.68
#7D64C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D64C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64C3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64C3#FFFFFF#000000##FFFFFF
##7D64C31.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4175C6
Deuteranopia (green-blind)
#4672C1
Tritanopia (blue-blind)
#6C778A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d64c3;
/* rgb */ color: rgb(125, 100, 195);
/* oklch */ color: oklch(57.1% 0.143 293.5);
Tailwind
colors: {
  custom: {
    50: '#a690d6',
    500: '#7d64c3',
    950: '#000000',
  },
}
SCSS
$custom: #7d64c3;
$custom-light: #a690d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64c3",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 195
  },
  "hsl": {
    "h": 255.789,
    "s": 44.186,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.14287,
    "h": 293.5
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#7D64C3
secondary
#CAD4AE
accent
#D454B2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D64C3

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

Preview Lab → · Contrast checker → · Palette generator →

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