#7C64DC#7C64DC

#7C64DC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.6% C 0.176 H 289.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7C64DC
RGBrgb(124, 100, 220)
HSLhsl(252, 63%, 63%)
HSVhsv(252, 55%, 86%)
CMYKcmyk(43.6%, 54.5%, 0%, 13.7%)
CIE-LABlab(50.18, 38.44, -58.45)
CIE-LCHlch(50.18, 69.96, 303.33°)
OKLaboklab(58.63% 0.0573 -0.1664)
OKLCHoklch(58.63% 0.176 289)
XYZxyz(25.7840, 18.5658, 69.9213)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64DC #C4DC64
analogous
#6488DC #7C64DC #B864DC
triadic
#7C64DC #DC7C64 #64DC7C
tetradic
#7C64DC #DC6488 #C4DC64 #64DCB8
square
#7C64DC #DC6488 #C4DC64 #64DCB8
split-complementary
#7C64DC #DCB864 #88DC64
monochromatic
#3D24A1 #5232D1 #7C64DC #A696E7 #D0C8F3

Accessibility & contrast

On white

4.46
#7C64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7C64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64DC#FFFFFF#000000##000000
##7C64DC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#2774D9
Tritanopia (blue-blind)
#5F7E96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c64dc;
/* rgb */ color: rgb(124, 100, 220);
/* oklch */ color: oklch(58.6% 0.176 289.0);
Tailwind
colors: {
  custom: {
    50: '#a891e7',
    500: '#7c64dc',
    950: '#000000',
  },
}
SCSS
$custom: #7c64dc;
$custom-light: #a891e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64dc",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 252,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.176,
    "h": 289
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

primary
#7C64DC
secondary
#DBE4B8
accent
#CB1BA8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7C64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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