#7D64DF#7D64DF

#7D64DF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.9% C 0.180 H 289.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D64DF
RGBrgb(125, 100, 223)
HSLhsl(252, 66%, 63%)
HSVhsv(252, 55%, 87%)
CMYKcmyk(43.9%, 55.2%, 0%, 12.5%)
CIE-LABlab(50.45, 39.50, -59.70)
CIE-LCHlch(50.45, 71.59, 303.49°)
OKLaboklab(58.92% 0.0586 -0.17)
OKLCHoklch(58.92% 0.18 289)
XYZxyz(26.3301, 18.8011, 72.0394)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64DF #C6DF64
analogous
#6488DF #7D64DF #BA64DF
triadic
#7D64DF #DF7D64 #64DF7D
tetradic
#7D64DF #DF6488 #C6DF64 #64DFBA
square
#7D64DF #DF6488 #C6DF64 #64DFBA
split-complementary
#7D64DF #DFBA64 #88DF64
monochromatic
#3D22A6 #5231D5 #7D64DF #A897E9 #D2C9F4

Accessibility & contrast

On white

4.41
#7D64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7D64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64DF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64DF#FFFFFF#000000##000000
##7D64DF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#2375DC
Tritanopia (blue-blind)
#607F98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d64df;
/* rgb */ color: rgb(125, 100, 223);
/* oklch */ color: oklch(58.9% 0.180 289.0);
Tailwind
colors: {
  custom: {
    50: '#a891ea',
    500: '#7d64df',
    950: '#000000',
  },
}
SCSS
$custom: #7d64df;
$custom-light: #a891ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64df",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 252.195,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.17986,
    "h": 289
  },
  "luminance": 0.18802
}

Semantic roles & 50–950 ramp

primary
#7D64DF
secondary
#DCE5B9
accent
#CE18A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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