#7D64CE#7D64CE

#7D64CE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.8% C 0.158 H 291.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D64CE
RGBrgb(125, 100, 206)
HSLhsl(254, 52%, 60%)
HSVhsv(254, 51%, 81%)
CMYKcmyk(39.3%, 51.5%, 0%, 19.2%)
CIE-LABlab(49.41, 34.75, -51.71)
CIE-LCHlch(49.41, 62.30, 303.90°)
OKLaboklab(57.81% 0.0579 -0.1466)
OKLCHoklch(57.81% 0.158 291.6)
XYZxyz(24.1522, 17.9299, 60.5688)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64CE #B5CE64
analogous
#6480CE #7D64CE #B264CE
triadic
#7D64CE #CE7D64 #64CE7D
tetradic
#7D64CE #CE6480 #B5CE64 #64CEB2
square
#7D64CE #CE6480 #B5CE64 #64CEB2
split-complementary
#7D64CE #CEB264 #80CE64
monochromatic
#432C8C #593BBA #7D64CE #A492DD #CBC1EB

Accessibility & contrast

On white

4.58
#7D64CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7D64CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64CE#FFFFFF#000000##000000
##7D64CE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D2
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#687A8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d64ce;
/* rgb */ color: rgb(125, 100, 206);
/* oklch */ color: oklch(57.8% 0.158 291.6);
Tailwind
colors: {
  custom: {
    50: '#a790dd',
    500: '#7d64ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d64ce;
$custom-light: #a790dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64ce",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 254.151,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.15759,
    "h": 291.6
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

primary
#7D64CE
secondary
#D2DBB2
accent
#DB4CBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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