#7D64E7#7D64E7

#7D64E7 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.190 H 288.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7D64E7
RGBrgb(125, 100, 231)
HSLhsl(251, 73%, 65%)
HSVhsv(251, 57%, 91%)
CMYKcmyk(45.9%, 56.7%, 0%, 9.4%)
CIE-LABlab(50.97, 41.77, -63.38)
CIE-LCHlch(50.97, 75.91, 303.39°)
OKLaboklab(59.47% 0.0587 -0.1809)
OKLCHoklch(59.47% 0.19 288)
XYZxyz(27.4343, 19.2427, 77.8545)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64E7 #CEE764
analogous
#648DE7 #7D64E7 #BE64E7
triadic
#7D64E7 #E77D64 #64E77D
tetradic
#7D64E7 #E7648D #CEE764 #64E7BE
square
#7D64E7 #E7648D #CEE764 #64E7BE
split-complementary
#7D64E7 #E7BE64 #8DE764
monochromatic
#391CB5 #512FDF #7D64E7 #A999EF #D6CEF7

Accessibility & contrast

On white

4.33
#7D64E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7D64E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64E7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64E7#FFFFFF#000000##000000
##7D64E71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#057CEB
Deuteranopia (green-blind)
#0976E4
Tritanopia (blue-blind)
#5B819C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d64e7;
/* rgb */ color: rgb(125, 100, 231);
/* oklch */ color: oklch(59.5% 0.190 288.0);
Tailwind
colors: {
  custom: {
    50: '#a991ef',
    500: '#7d64e7',
    950: '#000000',
  },
}
SCSS
$custom: #7d64e7;
$custom-light: #a991ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64e7",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 251.45,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59467,
    "c": 0.19014,
    "h": 288
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

primary
#7D64E7
secondary
#E1EABD
accent
#D510B0
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100D17
muted
#7F7D85

Preview Lab

Preview with #7D64E7

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

Preview Lab → · Contrast checker → · Palette generator →

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