#7E64BF#7E64BF

#7E64BF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.0% C 0.138 H 294.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7E64BF
RGBrgb(126, 100, 191)
HSLhsl(257, 42%, 57%)
HSVhsv(257, 48%, 75%)
CMYKcmyk(34%, 47.6%, 0%, 25.1%)
CIE-LABlab(48.65, 30.93, -44.30)
CIE-LCHlch(48.65, 54.02, 304.92°)
OKLaboklab(56.99% 0.0577 -0.1248)
OKLCHoklch(56.99% 0.138 294.8)
XYZxyz(22.5629, 17.3112, 51.4328)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64BF #A5BF64
analogous
#6478BF #7E64BF #AC64BF
triadic
#7E64BF #BF7E64 #64BF7E
tetradic
#7E64BF #BF6478 #A5BF64 #64BFAC
square
#7E64BF #BF6478 #A5BF64 #64BFAC
split-complementary
#7E64BF #BFAC64 #78BF64
monochromatic
#453177 #5E43A3 #7E64BF #A28FD1 #C6BBE3

Accessibility & contrast

On white

4.71
#7E64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7E64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E64BF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64BF#FFFFFF#000000##FFFFFF
##7E64BF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#6F7588
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e64bf;
/* rgb */ color: rgb(126, 100, 191);
/* oklch */ color: oklch(57.0% 0.138 294.8);
Tailwind
colors: {
  custom: {
    50: '#a690d3',
    500: '#7e64bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e64bf;
$custom-light: #a690d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64bf",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 257.143,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.13754,
    "h": 294.8
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#7E64BF
secondary
#C7D2AD
accent
#D156AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7E64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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