#7C64F2#7C64F2

#7C64F2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.2% C 0.204 H 286.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7C64F2
RGBrgb(124, 100, 242)
HSLhsl(250, 85%, 67%)
HSVhsv(250, 59%, 95%)
CMYKcmyk(48.8%, 58.7%, 0%, 5.1%)
CIE-LABlab(51.62, 44.72, -68.49)
CIE-LCHlch(51.62, 81.80, 303.14°)
OKLaboklab(60.16% 0.0572 -0.1959)
OKLCHoklch(60.16% 0.204 286.3)
XYZxyz(28.8916, 19.8089, 86.2883)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64F2 #DAF264
analogous
#6493F2 #7C64F2 #C364F2
triadic
#7C64F2 #F27C64 #64F27C
tetradic
#7C64F2 #F26493 #DAF264 #64F2C3
square
#7C64F2 #F26493 #DAF264 #64F2C3
split-complementary
#7C64F2 #F2C364 #93F264
monochromatic
#3011CB #4C2CED #7C64F2 #AC9CF7 #DBD5FB

Accessibility & contrast

On white

4.23
#7C64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7C64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64F2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64F2#FFFFFF#000000##000000
##7C64F21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#5285A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c64f2;
/* rgb */ color: rgb(124, 100, 242);
/* oklch */ color: oklch(60.2% 0.204 286.3);
Tailwind
colors: {
  custom: {
    50: '#aa91f7',
    500: '#7c64f2',
    950: '#000000',
  },
}
SCSS
$custom: #7c64f2;
$custom-light: #aa91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64f2",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 250.141,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.20412,
    "h": 286.3
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#7C64F2
secondary
#E8EFC2
accent
#E105BC
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7C64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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