#7C64BB#7C64BB

#7C64BB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.6% C 0.132 H 294.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7C64BB
RGBrgb(124, 100, 187)
HSLhsl(257, 39%, 56%)
HSVhsv(257, 47%, 73%)
CMYKcmyk(33.7%, 46.5%, 0%, 26.7%)
CIE-LABlab(48.24, 29.32, -42.64)
CIE-LCHlch(48.24, 51.75, 304.52°)
OKLaboklab(56.57% 0.0547 -0.12)
OKLCHoklch(56.57% 0.132 294.5)
XYZxyz(21.8367, 16.9869, 49.1324)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64BB #A3BB64
analogous
#6478BB #7C64BB #A864BB
triadic
#7C64BB #BB7C64 #64BB7C
tetradic
#7C64BB #BB6478 #A3BB64 #64BBA8
square
#7C64BB #BB6478 #A3BB64 #64BBA8
split-complementary
#7C64BB #BBA864 #78BB64
monochromatic
#443272 #5D459D #7C64BB #A08FCE #C4B9E0

Accessibility & contrast

On white

4.78
#7C64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7C64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C64BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64BB#FFFFFF#000000##FFFFFF
##7C64BB1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#6E7486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c64bb;
/* rgb */ color: rgb(124, 100, 187);
/* oklch */ color: oklch(56.6% 0.132 294.5);
Tailwind
colors: {
  custom: {
    50: '#a590d0',
    500: '#7c64bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c64bb;
$custom-light: #a590d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64bb",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 256.552,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56568,
    "c": 0.13193,
    "h": 294.5
  },
  "luminance": 0.16987
}

Semantic roles & 50–950 ramp

primary
#7C64BB
secondary
#C5CFAB
accent
#CF59AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7C64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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