#7E64DF#7E64DF

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

Color values

HEX#7E64DF
RGBrgb(126, 100, 223)
HSLhsl(253, 66%, 63%)
HSVhsv(253, 55%, 87%)
CMYKcmyk(43.5%, 55.2%, 0%, 12.5%)
CIE-LABlab(50.54, 39.73, -59.55)
CIE-LCHlch(50.54, 71.59, 303.71°)
OKLaboklab(59.01% 0.0599 -0.1696)
OKLCHoklch(59.01% 0.18 289.4)
XYZxyz(26.4769, 18.8767, 72.0463)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64DF #C5DF64
analogous
#6487DF #7E64DF #BB64DF
triadic
#7E64DF #DF7E64 #64DF7E
tetradic
#7E64DF #DF6487 #C5DF64 #64DFBB
square
#7E64DF #DF6487 #C5DF64 #64DFBB
split-complementary
#7E64DF #DFBB64 #87DF64
monochromatic
#3E22A6 #5431D5 #7E64DF #A897E9 #D2C9F4

Accessibility & contrast

On white

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

On black

4.78
#7E64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64DF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64DF#FFFFFF#000000##000000
##7E64DF1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#2575DC
Tritanopia (blue-blind)
#617F98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e64df;
/* rgb */ color: rgb(126, 100, 223);
/* oklch */ color: oklch(59.0% 0.180 289.4);
Tailwind
colors: {
  custom: {
    50: '#a991ea',
    500: '#7e64df',
    950: '#000000',
  },
}
SCSS
$custom: #7e64df;
$custom-light: #a991ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64df",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 252.683,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.17984,
    "h": 289.4
  },
  "luminance": 0.18878
}

Semantic roles & 50–950 ramp

primary
#7E64DF
secondary
#DCE5B9
accent
#CE18A7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7E64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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