#7E64CF#7E64CF

#7E64CF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.0% C 0.159 H 291.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E64CF
RGBrgb(126, 100, 207)
HSLhsl(255, 53%, 60%)
HSVhsv(255, 52%, 81%)
CMYKcmyk(39.1%, 51.7%, 0%, 18.8%)
CIE-LABlab(49.56, 35.27, -52.03)
CIE-LCHlch(49.56, 62.86, 304.13°)
OKLaboklab(57.97% 0.0592 -0.1475)
OKLCHoklch(57.97% 0.159 291.9)
XYZxyz(24.4208, 18.0543, 61.2175)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64CF #B5CF64
analogous
#6480CF #7E64CF #B364CF
triadic
#7E64CF #CF7E64 #64CF7E
tetradic
#7E64CF #CF6480 #B5CF64 #64CFB3
square
#7E64CF #CF6480 #B5CF64 #64CFB3
split-complementary
#7E64CF #CFB364 #80CF64
monochromatic
#432C8D #5A3ABC #7E64CF #A593DD #CCC1EC

Accessibility & contrast

On white

4.55
#7E64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7E64CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64CF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64CF#FFFFFF#000000##000000
##7E64CF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#697A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e64cf;
/* rgb */ color: rgb(126, 100, 207);
/* oklch */ color: oklch(58.0% 0.159 291.9);
Tailwind
colors: {
  custom: {
    50: '#a891de',
    500: '#7e64cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e64cf;
$custom-light: #a891de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64cf",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 254.579,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.15893,
    "h": 291.9
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#7E64CF
secondary
#D2DCB3
accent
#C0259B
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7E64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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