#7E64DC#7E64DC

#7E64DC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.8% C 0.176 H 289.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7E64DC
RGBrgb(126, 100, 220)
HSLhsl(253, 63%, 63%)
HSVhsv(253, 55%, 86%)
CMYKcmyk(42.7%, 54.5%, 0%, 13.7%)
CIE-LABlab(50.35, 38.88, -58.16)
CIE-LCHlch(50.35, 69.96, 303.77°)
OKLaboklab(58.81% 0.0598 -0.1655)
OKLCHoklch(58.81% 0.176 289.9)
XYZxyz(26.0760, 18.7164, 69.9350)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64DC #C2DC64
analogous
#6486DC #7E64DC #BA64DC
triadic
#7E64DC #DC7E64 #64DC7E
tetradic
#7E64DC #DC6486 #C2DC64 #64DCBA
square
#7E64DC #DC6486 #C2DC64 #64DCBA
split-complementary
#7E64DC #DCBA64 #86DC64
monochromatic
#3F24A1 #5432D1 #7E64DC #A896E7 #D1C8F3

Accessibility & contrast

On white

4.43
#7E64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7E64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64DC#FFFFFF#000000##000000
##7E64DC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#267AE0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#637E96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e64dc;
/* rgb */ color: rgb(126, 100, 220);
/* oklch */ color: oklch(58.8% 0.176 289.9);
Tailwind
colors: {
  custom: {
    50: '#a991e7',
    500: '#7e64dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e64dc;
$custom-light: #a991e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64dc",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 253,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58808,
    "c": 0.17596,
    "h": 289.9
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#7E64DC
secondary
#DAE4B8
accent
#CB1BA5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7E64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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