#7D64E0#7D64E0

#7D64E0 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.0% C 0.181 H 288.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7D64E0
RGBrgb(125, 100, 224)
HSLhsl(252, 67%, 64%)
HSVhsv(252, 55%, 88%)
CMYKcmyk(44.2%, 55.4%, 0%, 12.2%)
CIE-LABlab(50.52, 39.79, -60.16)
CIE-LCHlch(50.52, 72.13, 303.48°)
OKLaboklab(58.99% 0.0586 -0.1714)
OKLCHoklch(58.99% 0.181 288.9)
XYZxyz(26.4654, 18.8552, 72.7515)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64E0 #C7E064
analogous
#6489E0 #7D64E0 #BB64E0
triadic
#7D64E0 #E07D64 #64E07D
tetradic
#7D64E0 #E06489 #C7E064 #64E0BB
square
#7D64E0 #E06489 #C7E064 #64E0BB
split-complementary
#7D64E0 #E0BB64 #89E064
monochromatic
#3D22A8 #5231D6 #7D64E0 #A897EA #D3CAF4

Accessibility & contrast

On white

4.40
#7D64E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7D64E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64E0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64E0#FFFFFF#000000##000000
##7D64E01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7BE4
Deuteranopia (green-blind)
#2175DD
Tritanopia (blue-blind)
#5F7F98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d64e0;
/* rgb */ color: rgb(125, 100, 224);
/* oklch */ color: oklch(59.0% 0.181 288.9);
Tailwind
colors: {
  custom: {
    50: '#a991ea',
    500: '#7d64e0',
    950: '#000000',
  },
}
SCSS
$custom: #7d64e0;
$custom-light: #a991ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64e0",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 224
  },
  "hsl": {
    "h": 252.097,
    "s": 66.667,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.18115,
    "h": 288.9
  },
  "luminance": 0.18856
}

Semantic roles & 50–950 ramp

primary
#7D64E0
secondary
#DDE6BA
accent
#CF17AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64E0

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

Preview Lab → · Contrast checker → · Palette generator →

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