#7E64DA#7E64DA

#7E64DA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.173 H 290.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7E64DA
RGBrgb(126, 100, 218)
HSLhsl(253, 61%, 62%)
HSVhsv(253, 54%, 85%)
CMYKcmyk(42.2%, 54.1%, 0%, 14.5%)
CIE-LABlab(50.23, 38.32, -57.22)
CIE-LCHlch(50.23, 68.87, 303.81°)
OKLaboklab(58.68% 0.0598 -0.1627)
OKLCHoklch(58.68% 0.173 290.2)
XYZxyz(25.8127, 18.6111, 68.5483)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64DA #C0DA64
analogous
#6485DA #7E64DA #B964DA
triadic
#7E64DA #DA7E64 #64DA7E
tetradic
#7E64DA #DA6485 #C0DA64 #64DAB9
square
#7E64DA #DA6485 #C0DA64 #64DAB9
split-complementary
#7E64DA #DAB964 #85DA64
monochromatic
#40269E #5533CE #7E64DA #A795E6 #D0C7F2

Accessibility & contrast

On white

4.45
#7E64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7E64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64DA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64DA#FFFFFF#000000##000000
##7E64DA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADE
Deuteranopia (green-blind)
#2D75D7
Tritanopia (blue-blind)
#647D95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e64da;
/* rgb */ color: rgb(126, 100, 218);
/* oklch */ color: oklch(58.7% 0.173 290.2);
Tailwind
colors: {
  custom: {
    50: '#a991e6',
    500: '#7e64da',
    950: '#000000',
  },
}
SCSS
$custom: #7e64da;
$custom-light: #a991e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64da",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 253.22,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58675,
    "c": 0.17336,
    "h": 290.2
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#7E64DA
secondary
#D9E2B7
accent
#C91CA3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7E64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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