#7D64EA#7D64EA

#7D64EA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.194 H 287.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D64EA
RGBrgb(125, 100, 234)
HSLhsl(251, 76%, 65%)
HSVhsv(251, 57%, 92%)
CMYKcmyk(46.6%, 57.3%, 0%, 8.2%)
CIE-LABlab(51.17, 42.63, -64.74)
CIE-LCHlch(51.17, 77.52, 303.36°)
OKLaboklab(59.68% 0.0587 -0.1849)
OKLCHoklch(59.68% 0.194 287.6)
XYZxyz(27.8616, 19.4137, 80.1051)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64EA #D1EA64
analogous
#648EEA #7D64EA #C064EA
triadic
#7D64EA #EA7D64 #64EA7D
tetradic
#7D64EA #EA648E #D1EA64 #64EAC0
square
#7D64EA #EA648E #D1EA64 #64EAC0
split-complementary
#7D64EA #EAC064 #8EEA64
monochromatic
#3719BA #502EE3 #7D64EA #AA9AF1 #D7D0F9

Accessibility & contrast

On white

4.30
#7D64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7D64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64EA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64EA#FFFFFF#000000##000000
##7D64EA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#59829D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d64ea;
/* rgb */ color: rgb(125, 100, 234);
/* oklch */ color: oklch(59.7% 0.194 287.6);
Tailwind
colors: {
  custom: {
    50: '#aa91f2',
    500: '#7d64ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d64ea;
$custom-light: #aa91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64ea",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 251.194,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.19396,
    "h": 287.6
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#7D64EA
secondary
#E3EBBE
accent
#D80DB2
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7D64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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