#7D64E4#7D64E4

#7D64E4 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.186 H 288.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D64E4
RGBrgb(125, 100, 228)
HSLhsl(252, 70%, 64%)
HSVhsv(252, 56%, 89%)
CMYKcmyk(45.2%, 56.1%, 0%, 10.6%)
CIE-LABlab(50.77, 40.92, -62.00)
CIE-LCHlch(50.77, 74.29, 303.42°)
OKLaboklab(59.26% 0.0587 -0.1768)
OKLCHoklch(59.26% 0.186 288.4)
XYZxyz(27.0142, 19.0747, 75.6422)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64E4 #CBE464
analogous
#648BE4 #7D64E4 #BD64E4
triadic
#7D64E4 #E47D64 #64E47D
tetradic
#7D64E4 #E4648B #CBE464 #64E4BD
square
#7D64E4 #E4648B #CBE464 #64E4BD
split-complementary
#7D64E4 #E4BD64 #8BE464
monochromatic
#3B1FAF #5130DB #7D64E4 #A998ED #D4CCF6

Accessibility & contrast

On white

4.36
#7D64E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D64E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64E4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64E4#FFFFFF#000000##000000
##7D64E41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#137CE8
Deuteranopia (green-blind)
#1676E1
Tritanopia (blue-blind)
#5D809A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d64e4;
/* rgb */ color: rgb(125, 100, 228);
/* oklch */ color: oklch(59.3% 0.186 288.4);
Tailwind
colors: {
  custom: {
    50: '#a991ed',
    500: '#7d64e4',
    950: '#000000',
  },
}
SCSS
$custom: #7d64e4;
$custom-light: #a991ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64e4",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 251.719,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5926,
    "c": 0.1863,
    "h": 288.4
  },
  "luminance": 0.19076
}

Semantic roles & 50–950 ramp

primary
#7D64E4
secondary
#DFE8BC
accent
#D213AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64E4

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

Preview Lab → · Contrast checker → · Palette generator →

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