#7D64D7#7D64D7

#7D64D7 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.4% C 0.169 H 290.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D64D7
RGBrgb(125, 100, 215)
HSLhsl(253, 59%, 62%)
HSVhsv(253, 53%, 84%)
CMYKcmyk(41.9%, 53.5%, 0%, 15.7%)
CIE-LABlab(49.95, 37.26, -55.97)
CIE-LCHlch(49.95, 67.23, 303.65°)
OKLaboklab(58.39% 0.0584 -0.1591)
OKLCHoklch(58.39% 0.169 290.2)
XYZxyz(25.2770, 18.3798, 66.4927)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64D7 #BED764
analogous
#6485D7 #7D64D7 #B664D7
triadic
#7D64D7 #D77D64 #64D77D
tetradic
#7D64D7 #D76485 #BED764 #64D7B6
square
#7D64D7 #D76485 #BED764 #64D7B6
split-complementary
#7D64D7 #D7B664 #85D764
monochromatic
#402899 #5534CA #7D64D7 #A695E4 #CFC5F0

Accessibility & contrast

On white

4.49
#7D64D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7D64D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64D7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64D7#FFFFFF#000000##000000
##7D64D71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D79DB
Deuteranopia (green-blind)
#3074D4
Tritanopia (blue-blind)
#647C94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d64d7;
/* rgb */ color: rgb(125, 100, 215);
/* oklch */ color: oklch(58.4% 0.169 290.2);
Tailwind
colors: {
  custom: {
    50: '#a891e4',
    500: '#7d64d7',
    950: '#000000',
  },
}
SCSS
$custom: #7d64d7;
$custom-light: #a891e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64d7",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 253.043,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.16946,
    "h": 290.2
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#7D64D7
secondary
#D7E1B6
accent
#C71FA2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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