#7E64BB#7E64BB

#7E64BB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.8% C 0.132 H 295.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7E64BB
RGBrgb(126, 100, 187)
HSLhsl(258, 39%, 56%)
HSVhsv(258, 47%, 73%)
CMYKcmyk(32.6%, 46.5%, 0%, 26.7%)
CIE-LABlab(48.43, 29.87, -42.33)
CIE-LCHlch(48.43, 51.80, 305.21°)
OKLaboklab(56.76% 0.0572 -0.1191)
OKLCHoklch(56.76% 0.132 295.7)
XYZxyz(22.1288, 17.1375, 49.1461)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64BB #A1BB64
analogous
#6476BB #7E64BB #AA64BB
triadic
#7E64BB #BB7E64 #64BB7E
tetradic
#7E64BB #BB6476 #A1BB64 #64BBAA
square
#7E64BB #BB6476 #A1BB64 #64BBAA
split-complementary
#7E64BB #BBAA64 #76BB64
monochromatic
#453272 #5F459D #7E64BB #A18FCE #C5B9E0

Accessibility & contrast

On white

4.74
#7E64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7E64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E64BB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64BB#FFFFFF#000000##FFFFFF
##7E64BB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#707486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e64bb;
/* rgb */ color: rgb(126, 100, 187);
/* oklch */ color: oklch(56.8% 0.132 295.7);
Tailwind
colors: {
  custom: {
    50: '#a690d0',
    500: '#7e64bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e64bb;
$custom-light: #a690d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64bb",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 257.931,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.13211,
    "h": 295.7
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#7E64BB
secondary
#C5CFAB
accent
#CF59AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7E64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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