#7D64E1#7D64E1

#7D64E1 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.182 H 288.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D64E1
RGBrgb(125, 100, 225)
HSLhsl(252, 68%, 64%)
HSVhsv(252, 56%, 88%)
CMYKcmyk(44.4%, 55.6%, 0%, 11.8%)
CIE-LABlab(50.58, 40.07, -60.62)
CIE-LCHlch(50.58, 72.67, 303.46°)
OKLaboklab(59.06% 0.0587 -0.1728)
OKLCHoklch(59.06% 0.182 288.8)
XYZxyz(26.6014, 18.9096, 73.4679)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64E1 #C8E164
analogous
#6489E1 #7D64E1 #BB64E1
triadic
#7D64E1 #E17D64 #64E17D
tetradic
#7D64E1 #E16489 #C8E164 #64E1BB
square
#7D64E1 #E16489 #C8E164 #64E1BB
split-complementary
#7D64E1 #E1BB64 #89E164
monochromatic
#3C21AA #5231D7 #7D64E1 #A897EB #D3CBF5

Accessibility & contrast

On white

4.39
#7D64E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7D64E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64E1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64E1#FFFFFF#000000##000000
##7D64E11.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7BE5
Deuteranopia (green-blind)
#1F75DE
Tritanopia (blue-blind)
#5E7F99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d64e1;
/* rgb */ color: rgb(125, 100, 225);
/* oklch */ color: oklch(59.1% 0.182 288.8);
Tailwind
colors: {
  custom: {
    50: '#a991eb',
    500: '#7d64e1',
    950: '#000000',
  },
}
SCSS
$custom: #7d64e1;
$custom-light: #a991eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64e1",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 252,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59056,
    "c": 0.18244,
    "h": 288.8
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#7D64E1
secondary
#DEE6BA
accent
#CF16AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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