#7D64DC#7D64DC

#7D64DC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.176 H 289.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D64DC
RGBrgb(125, 100, 220)
HSLhsl(253, 63%, 63%)
HSVhsv(253, 55%, 86%)
CMYKcmyk(43.2%, 54.5%, 0%, 13.7%)
CIE-LABlab(50.26, 38.66, -58.31)
CIE-LCHlch(50.26, 69.96, 303.55°)
OKLaboklab(58.72% 0.0586 -0.1659)
OKLCHoklch(58.72% 0.176 289.4)
XYZxyz(25.9293, 18.6407, 69.9281)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64DC #C3DC64
analogous
#6487DC #7D64DC #B964DC
triadic
#7D64DC #DC7D64 #64DC7D
tetradic
#7D64DC #DC6487 #C3DC64 #64DCB9
square
#7D64DC #DC6487 #C3DC64 #64DCB9
split-complementary
#7D64DC #DCB964 #87DC64
monochromatic
#3E24A1 #5332D1 #7D64DC #A796E7 #D1C8F3

Accessibility & contrast

On white

4.44
#7D64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7D64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64DC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64DC#FFFFFF#000000##000000
##7D64DC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#2975D9
Tritanopia (blue-blind)
#617E96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d64dc;
/* rgb */ color: rgb(125, 100, 220);
/* oklch */ color: oklch(58.7% 0.176 289.4);
Tailwind
colors: {
  custom: {
    50: '#a891e7',
    500: '#7d64dc',
    950: '#000000',
  },
}
SCSS
$custom: #7d64dc;
$custom-light: #a891e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64dc",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 252.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.17598,
    "h": 289.4
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#7D64DC
secondary
#DBE4B8
accent
#CB1BA6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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