#7D64C1#7D64C1

#7D64C1 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.0% C 0.140 H 293.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7D64C1
RGBrgb(125, 100, 193)
HSLhsl(256, 43%, 57%)
HSVhsv(256, 48%, 76%)
CMYKcmyk(35.2%, 48.2%, 0%, 24.3%)
CIE-LABlab(48.67, 31.20, -45.43)
CIE-LCHlch(48.67, 55.11, 304.48°)
OKLaboklab(57.01% 0.0567 -0.1282)
OKLCHoklch(57.01% 0.14 293.9)
XYZxyz(22.6378, 17.3241, 52.5929)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64C1 #A8C164
analogous
#647AC1 #7D64C1 #AB64C1
triadic
#7D64C1 #C17D64 #64C17D
tetradic
#7D64C1 #C1647A #A8C164 #64C1AB
square
#7D64C1 #C1647A #A8C164 #64C1AB
split-complementary
#7D64C1 #C1AB64 #7AC164
monochromatic
#44317A #5D42A6 #7D64C1 #A290D2 #C6BBE4

Accessibility & contrast

On white

4.70
#7D64C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7D64C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64C1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64C1#FFFFFF#000000##FFFFFF
##7D64C11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4375C4
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#6D7689
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d64c1;
/* rgb */ color: rgb(125, 100, 193);
/* oklch */ color: oklch(57.0% 0.140 293.9);
Tailwind
colors: {
  custom: {
    50: '#a690d4',
    500: '#7d64c1',
    950: '#000000',
  },
}
SCSS
$custom: #7d64c1;
$custom-light: #a690d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64c1",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 193
  },
  "hsl": {
    "h": 256.129,
    "s": 42.857,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.14016,
    "h": 293.9
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#7D64C1
secondary
#C9D3AE
accent
#D355B1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D64C1

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

Preview Lab → · Contrast checker → · Palette generator →

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