#7D64C5#7D64C5

#7D64C5 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.3% C 0.146 H 293.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D64C5
RGBrgb(125, 100, 197)
HSLhsl(255, 46%, 58%)
HSVhsv(255, 49%, 77%)
CMYKcmyk(36.5%, 49.2%, 0%, 22.7%)
CIE-LABlab(48.89, 32.28, -47.38)
CIE-LCHlch(48.89, 57.33, 304.27°)
OKLaboklab(57.25% 0.0571 -0.1339)
OKLCHoklch(57.25% 0.146 293.1)
XYZxyz(23.0900, 17.5050, 54.9748)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64C5 #ACC564
analogous
#647BC5 #7D64C5 #AD64C5
triadic
#7D64C5 #C57D64 #64C57D
tetradic
#7D64C5 #C5647B #ACC564 #64C5AD
square
#7D64C5 #C5647B #ACC564 #64C5AD
split-complementary
#7D64C5 #C5AD64 #7BC564
monochromatic
#44307F #5C40AC #7D64C5 #A291D6 #C8BDE6

Accessibility & contrast

On white

4.67
#7D64C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7D64C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64C5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64C5#FFFFFF#000000##FFFFFF
##7D64C51.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4075C8
Deuteranopia (green-blind)
#4472C3
Tritanopia (blue-blind)
#6B778B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d64c5;
/* rgb */ color: rgb(125, 100, 197);
/* oklch */ color: oklch(57.3% 0.146 293.1);
Tailwind
colors: {
  custom: {
    50: '#a690d7',
    500: '#7d64c5',
    950: '#000000',
  },
}
SCSS
$custom: #7d64c5;
$custom-light: #a690d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64c5",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 197
  },
  "hsl": {
    "h": 255.464,
    "s": 45.54,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.14555,
    "h": 293.1
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#7D64C5
secondary
#CCD6AF
accent
#D553B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D64C5

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

Preview Lab → · Contrast checker → · Palette generator →

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