#7E64DD#7E64DD

#7E64DD is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.9% C 0.177 H 289.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7E64DD
RGBrgb(126, 100, 221)
HSLhsl(253, 64%, 63%)
HSVhsv(253, 55%, 87%)
CMYKcmyk(43%, 54.8%, 0%, 13.3%)
CIE-LABlab(50.42, 39.16, -58.62)
CIE-LCHlch(50.42, 70.50, 303.75°)
OKLaboklab(58.87% 0.0598 -0.1668)
OKLCHoklch(58.87% 0.177 289.7)
XYZxyz(26.2089, 18.7695, 70.6346)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64DD #C3DD64
analogous
#6486DD #7E64DD #BB64DD
triadic
#7E64DD #DD7E64 #64DD7E
tetradic
#7E64DD #DD6486 #C3DD64 #64DDBB
square
#7E64DD #DD6486 #C3DD64 #64DDBB
split-complementary
#7E64DD #DDBB64 #86DD64
monochromatic
#3F24A3 #5432D2 #7E64DD #A896E8 #D2C8F3

Accessibility & contrast

On white

4.42
#7E64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7E64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64DD#FFFFFF#000000##000000
##7E64DD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#627E97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e64dd;
/* rgb */ color: rgb(126, 100, 221);
/* oklch */ color: oklch(58.9% 0.177 289.7);
Tailwind
colors: {
  custom: {
    50: '#a991e8',
    500: '#7e64dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e64dd;
$custom-light: #a991e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64dd",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 252.893,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58874,
    "c": 0.17726,
    "h": 289.7
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#7E64DD
secondary
#DBE4B9
accent
#CC1AA6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7E64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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