#7C64DA#7C64DA

#7C64DA is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.5% C 0.173 H 289.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7C64DA
RGBrgb(124, 100, 218)
HSLhsl(252, 61%, 62%)
HSVhsv(252, 54%, 85%)
CMYKcmyk(43.1%, 54.1%, 0%, 14.5%)
CIE-LABlab(50.05, 37.87, -57.52)
CIE-LCHlch(50.05, 68.87, 303.36°)
OKLaboklab(58.5% 0.0573 -0.1637)
OKLCHoklch(58.5% 0.173 289.3)
XYZxyz(25.5207, 18.4605, 68.5346)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64DA #C2DA64
analogous
#6487DA #7C64DA #B764DA
triadic
#7C64DA #DA7C64 #64DA7C
tetradic
#7C64DA #DA6487 #C2DA64 #64DAB7
square
#7C64DA #DA6487 #C2DA64 #64DAB7
split-complementary
#7C64DA #DAB764 #87DA64
monochromatic
#3E269E #5233CE #7C64DA #A695E6 #D0C7F2

Accessibility & contrast

On white

4.48
#7C64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7C64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64DA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64DA#FFFFFF#000000##000000
##7C64DA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2879DE
Deuteranopia (green-blind)
#2B74D7
Tritanopia (blue-blind)
#607D95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c64da;
/* rgb */ color: rgb(124, 100, 218);
/* oklch */ color: oklch(58.5% 0.173 289.3);
Tailwind
colors: {
  custom: {
    50: '#a791e6',
    500: '#7c64da',
    950: '#000000',
  },
}
SCSS
$custom: #7c64da;
$custom-light: #a791e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64da",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 252.203,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.17339,
    "h": 289.3
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

primary
#7C64DA
secondary
#DAE2B7
accent
#C91CA6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7C64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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