#7D64CC#7D64CC

#7D64CC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.7% C 0.155 H 291.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7D64CC
RGBrgb(125, 100, 204)
HSLhsl(254, 50%, 60%)
HSVhsv(254, 51%, 80%)
CMYKcmyk(38.7%, 51%, 0%, 20%)
CIE-LABlab(49.29, 34.20, -50.75)
CIE-LCHlch(49.29, 61.20, 303.98°)
OKLaboklab(57.69% 0.0578 -0.1438)
OKLCHoklch(57.69% 0.155 291.9)
XYZxyz(23.9108, 17.8333, 59.2974)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64CC #B3CC64
analogous
#647FCC #7D64CC #B164CC
triadic
#7D64CC #CC7D64 #64CC7D
tetradic
#7D64CC #CC647F #B3CC64 #64CCB1
square
#7D64CC #CC647F #B3CC64 #64CCB1
split-complementary
#7D64CC #CCB164 #7FCC64
monochromatic
#432D89 #5A3CB7 #7D64CC #A492DB #CAC0EA

Accessibility & contrast

On white

4.60
#7D64CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7D64CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64CC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64CC#FFFFFF#000000##FFFFFF
##7D64CC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D0
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#68798E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d64cc;
/* rgb */ color: rgb(125, 100, 204);
/* oklch */ color: oklch(57.7% 0.155 291.9);
Tailwind
colors: {
  custom: {
    50: '#a790dc',
    500: '#7d64cc',
    950: '#000000',
  },
}
SCSS
$custom: #7d64cc;
$custom-light: #a790dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64cc",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 254.423,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.15493,
    "h": 291.9
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#7D64CC
secondary
#D0DAB2
accent
#DA4EB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64CC

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

Preview Lab → · Contrast checker → · Palette generator →

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