#7D64CF#7D64CF

#7D64CF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.9% C 0.159 H 291.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7D64CF
RGBrgb(125, 100, 207)
HSLhsl(254, 53%, 60%)
HSVhsv(254, 52%, 81%)
CMYKcmyk(39.6%, 51.7%, 0%, 18.8%)
CIE-LABlab(49.47, 35.03, -52.18)
CIE-LCHlch(49.47, 62.85, 303.87°)
OKLaboklab(57.88% 0.058 -0.148)
OKLCHoklch(57.88% 0.159 291.4)
XYZxyz(24.2741, 17.9786, 61.2107)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64CF #B6CF64
analogous
#6480CF #7D64CF #B364CF
triadic
#7D64CF #CF7D64 #64CF7D
tetradic
#7D64CF #CF6480 #B6CF64 #64CFB3
square
#7D64CF #CF6480 #B6CF64 #64CFB3
split-complementary
#7D64CF #CFB364 #80CF64
monochromatic
#422C8D #583ABC #7D64CF #A493DD #CBC1EC

Accessibility & contrast

On white

4.57
#7D64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7D64CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64CF#FFFFFF#000000##000000
##7D64CF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#3A73CD
Tritanopia (blue-blind)
#677A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d64cf;
/* rgb */ color: rgb(125, 100, 207);
/* oklch */ color: oklch(57.9% 0.159 291.4);
Tailwind
colors: {
  custom: {
    50: '#a790de',
    500: '#7d64cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d64cf;
$custom-light: #a790de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64cf",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 254.019,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57875,
    "c": 0.15892,
    "h": 291.4
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#7D64CF
secondary
#D2DCB3
accent
#C0259C
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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