#7D64D5#7D64D5

#7D64D5 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.3% C 0.167 H 290.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7D64D5
RGBrgb(125, 100, 213)
HSLhsl(253, 57%, 61%)
HSVhsv(253, 53%, 84%)
CMYKcmyk(41.3%, 53.1%, 0%, 16.5%)
CIE-LABlab(49.83, 36.70, -55.03)
CIE-LCHlch(49.83, 66.14, 303.70°)
OKLaboklab(58.26% 0.0583 -0.1563)
OKLCHoklch(58.26% 0.167 290.5)
XYZxyz(25.0216, 18.2776, 65.1475)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64D5 #BCD564
analogous
#6484D5 #7D64D5 #B664D5
triadic
#7D64D5 #D57D64 #64D57D
tetradic
#7D64D5 #D56484 #BCD564 #64D5B6
square
#7D64D5 #D56484 #BCD564 #64D5B6
split-complementary
#7D64D5 #D5B664 #84D564
monochromatic
#412996 #5636C6 #7D64D5 #A594E2 #CEC4EF

Accessibility & contrast

On white

4.51
#7D64D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7D64D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64D5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64D5#FFFFFF#000000##000000
##7D64D51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3079D9
Deuteranopia (green-blind)
#3374D2
Tritanopia (blue-blind)
#647C93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d64d5;
/* rgb */ color: rgb(125, 100, 213);
/* oklch */ color: oklch(58.3% 0.167 290.5);
Tailwind
colors: {
  custom: {
    50: '#a791e2',
    500: '#7d64d5',
    950: '#000000',
  },
}
SCSS
$custom: #7d64d5;
$custom-light: #a791e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64d5",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 253.274,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58259,
    "c": 0.16683,
    "h": 290.5
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#7D64D5
secondary
#D6E0B5
accent
#C521A1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64D5

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

Preview Lab → · Contrast checker → · Palette generator →

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