#7D64CD#7D64CD

#7D64CD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.7% C 0.156 H 291.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D64CD
RGBrgb(125, 100, 205)
HSLhsl(254, 51%, 60%)
HSVhsv(254, 51%, 80%)
CMYKcmyk(39%, 51.2%, 0%, 19.6%)
CIE-LABlab(49.35, 34.48, -51.23)
CIE-LCHlch(49.35, 61.75, 303.94°)
OKLaboklab(57.75% 0.0578 -0.1452)
OKLCHoklch(57.75% 0.156 291.7)
XYZxyz(24.0311, 17.8815, 59.9311)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64CD #B4CD64
analogous
#647FCD #7D64CD #B264CD
triadic
#7D64CD #CD7D64 #64CD7D
tetradic
#7D64CD #CD647F #B4CD64 #64CDB2
square
#7D64CD #CD647F #B4CD64 #64CDB2
split-complementary
#7D64CD #CDB264 #7FCD64
monochromatic
#432D8A #593BB8 #7D64CD #A492DC #CBC1EB

Accessibility & contrast

On white

4.59
#7D64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7D64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64CD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64CD#FFFFFF#000000##FFFFFF
##7D64CD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#68798F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d64cd;
/* rgb */ color: rgb(125, 100, 205);
/* oklch */ color: oklch(57.7% 0.156 291.7);
Tailwind
colors: {
  custom: {
    50: '#a790dd',
    500: '#7d64cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d64cd;
$custom-light: #a790dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64cd",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 254.286,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.15626,
    "h": 291.7
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#7D64CD
secondary
#D1DBB2
accent
#DB4DB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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