#7D64E6#7D64E6

#7D64E6 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.4% C 0.189 H 288.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D64E6
RGBrgb(125, 100, 230)
HSLhsl(252, 72%, 65%)
HSVhsv(252, 57%, 90%)
CMYKcmyk(45.7%, 56.5%, 0%, 9.8%)
CIE-LABlab(50.90, 41.49, -62.92)
CIE-LCHlch(50.90, 75.37, 303.40°)
OKLaboklab(59.4% 0.0587 -0.1795)
OKLCHoklch(59.4% 0.189 288.1)
XYZxyz(27.2935, 19.1864, 77.1128)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64E6 #CDE664
analogous
#648CE6 #7D64E6 #BE64E6
triadic
#7D64E6 #E67D64 #64E67D
tetradic
#7D64E6 #E6648C #CDE664 #64E6BE
square
#7D64E6 #E6648C #CDE664 #64E6BE
split-complementary
#7D64E6 #E6BE64 #8CE664
monochromatic
#3A1DB3 #512FDD #7D64E6 #A999EE #D5CDF7

Accessibility & contrast

On white

4.34
#7D64E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7D64E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64E6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64E6#FFFFFF#000000##000000
##7D64E61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7CEA
Deuteranopia (green-blind)
#0F76E3
Tritanopia (blue-blind)
#5C819B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d64e6;
/* rgb */ color: rgb(125, 100, 230);
/* oklch */ color: oklch(59.4% 0.189 288.1);
Tailwind
colors: {
  custom: {
    50: '#a991ef',
    500: '#7d64e6',
    950: '#000000',
  },
}
SCSS
$custom: #7d64e6;
$custom-light: #a991ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64e6",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 251.538,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59398,
    "c": 0.18886,
    "h": 288.1
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#7D64E6
secondary
#E1E9BD
accent
#D411AF
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64E6

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

Preview Lab → · Contrast checker → · Palette generator →

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