#7D64D8#7D64D8

#7D64D8 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.171 H 290.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D64D8
RGBrgb(125, 100, 216)
HSLhsl(253, 60%, 62%)
HSVhsv(253, 54%, 85%)
CMYKcmyk(42.1%, 53.7%, 0%, 15.3%)
CIE-LABlab(50.02, 37.53, -56.44)
CIE-LCHlch(50.02, 67.78, 303.63°)
OKLaboklab(58.46% 0.0584 -0.1605)
OKLCHoklch(58.46% 0.171 290)
XYZxyz(25.4058, 18.4314, 67.1714)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64D8 #BFD864
analogous
#6485D8 #7D64D8 #B764D8
triadic
#7D64D8 #D87D64 #64D87D
tetradic
#7D64D8 #D86485 #BFD864 #64D8B7
square
#7D64D8 #D86485 #BFD864 #64D8B7
split-complementary
#7D64D8 #D8B764 #85D864
monochromatic
#40279B #5433CC #7D64D8 #A695E4 #CFC6F1

Accessibility & contrast

On white

4.48
#7D64D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7D64D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64D8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64D8#FFFFFF#000000##000000
##7D64D81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C79DC
Deuteranopia (green-blind)
#2F74D5
Tritanopia (blue-blind)
#637D94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d64d8;
/* rgb */ color: rgb(125, 100, 216);
/* oklch */ color: oklch(58.5% 0.171 290.0);
Tailwind
colors: {
  custom: {
    50: '#a891e5',
    500: '#7d64d8',
    950: '#000000',
  },
}
SCSS
$custom: #7d64d8;
$custom-light: #a891e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64d8",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 252.931,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58455,
    "c": 0.17077,
    "h": 290
  },
  "luminance": 0.18432
}

Semantic roles & 50–950 ramp

primary
#7D64D8
secondary
#D8E1B7
accent
#C71EA3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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