#7E64CD#7E64CD

#7E64CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.8% C 0.156 H 292.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E64CD
RGBrgb(126, 100, 205)
HSLhsl(255, 51%, 60%)
HSVhsv(255, 51%, 80%)
CMYKcmyk(38.5%, 51.2%, 0%, 19.6%)
CIE-LABlab(49.44, 34.72, -51.08)
CIE-LCHlch(49.44, 61.76, 304.21°)
OKLaboklab(57.84% 0.0591 -0.1447)
OKLCHoklch(57.84% 0.156 292.2)
XYZxyz(24.1779, 17.9571, 59.9380)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64CD #B3CD64
analogous
#647FCD #7E64CD #B364CD
triadic
#7E64CD #CD7E64 #64CD7E
tetradic
#7E64CD #CD647F #B3CD64 #64CDB3
square
#7E64CD #CD647F #B3CD64 #64CDB3
split-complementary
#7E64CD #CDB364 #7FCD64
monochromatic
#442D8A #5A3BB8 #7E64CD #A592DC #CBC1EB

Accessibility & contrast

On white

4.57
#7E64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7E64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64CD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64CD#FFFFFF#000000##000000
##7E64CD1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#6A798F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e64cd;
/* rgb */ color: rgb(126, 100, 205);
/* oklch */ color: oklch(57.8% 0.156 292.2);
Tailwind
colors: {
  custom: {
    50: '#a791dd',
    500: '#7e64cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e64cd;
$custom-light: #a791dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64cd",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 254.857,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.15629,
    "h": 292.2
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#7E64CD
secondary
#D1DBB2
accent
#DB4DB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7E64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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