#7D64D6#7D64D6

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

Color values

HEX#7D64D6
RGBrgb(125, 100, 214)
HSLhsl(253, 58%, 62%)
HSVhsv(253, 53%, 84%)
CMYKcmyk(41.6%, 53.3%, 0%, 16.1%)
CIE-LABlab(49.89, 36.98, -55.50)
CIE-LCHlch(49.89, 66.69, 303.67°)
OKLaboklab(58.32% 0.0584 -0.1577)
OKLCHoklch(58.32% 0.168 290.3)
XYZxyz(25.1489, 18.3286, 65.8180)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64D6 #BDD664
analogous
#6484D6 #7D64D6 #B664D6
triadic
#7D64D6 #D67D64 #64D67D
tetradic
#7D64D6 #D66484 #BDD664 #64D6B6
square
#7D64D6 #D66484 #BDD664 #64D6B6
split-complementary
#7D64D6 #D6B664 #84D664
monochromatic
#412898 #5535C8 #7D64D6 #A694E3 #CEC5F0

Accessibility & contrast

On white

4.50
#7D64D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7D64D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64D6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64D6#FFFFFF#000000##000000
##7D64D61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E79DA
Deuteranopia (green-blind)
#3274D3
Tritanopia (blue-blind)
#647C93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d64d6;
/* rgb */ color: rgb(125, 100, 214);
/* oklch */ color: oklch(58.3% 0.168 290.3);
Tailwind
colors: {
  custom: {
    50: '#a891e3',
    500: '#7d64d6',
    950: '#000000',
  },
}
SCSS
$custom: #7d64d6;
$custom-light: #a891e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64d6",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 214
  },
  "hsl": {
    "h": 253.158,
    "s": 58.163,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58324,
    "c": 0.16815,
    "h": 290.3
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#7D64D6
secondary
#D7E0B6
accent
#C620A1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #7D64D6

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

Preview Lab → · Contrast checker → · Palette generator →

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