#7C64CA#7C64CA

#7C64CA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.5% C 0.152 H 291.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7C64CA
RGBrgb(124, 100, 202)
HSLhsl(254, 49%, 59%)
HSVhsv(254, 50%, 79%)
CMYKcmyk(38.6%, 50.5%, 0%, 20.8%)
CIE-LABlab(49.08, 33.40, -49.94)
CIE-LCHlch(49.08, 60.08, 303.77°)
OKLaboklab(57.47% 0.0563 -0.1414)
OKLCHoklch(57.47% 0.152 291.7)
XYZxyz(23.5272, 17.6631, 58.0354)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64CA #B2CA64
analogous
#647FCA #7C64CA #AF64CA
triadic
#7C64CA #CA7C64 #64CA7C
tetradic
#7C64CA #CA647F #B2CA64 #64CAAF
square
#7C64CA #CA647F #B2CA64 #64CAAF
split-complementary
#7C64CA #CAAF64 #7FCA64
monochromatic
#422E86 #593DB3 #7C64CA #A392DA #C9BFE9

Accessibility & contrast

On white

4.63
#7C64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7C64CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C64CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64CA#FFFFFF#000000##FFFFFF
##7C64CA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#68798E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c64ca;
/* rgb */ color: rgb(124, 100, 202);
/* oklch */ color: oklch(57.5% 0.152 291.7);
Tailwind
colors: {
  custom: {
    50: '#a690db',
    500: '#7c64ca',
    950: '#000000',
  },
}
SCSS
$custom: #7c64ca;
$custom-light: #a690db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64ca",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 254.118,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57471,
    "c": 0.15223,
    "h": 291.7
  },
  "luminance": 0.17664
}

Semantic roles & 50–950 ramp

primary
#7C64CA
secondary
#CFD9B1
accent
#D94FB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7C64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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