#7C64DD#7C64DD

#7C64DD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.177 H 288.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7C64DD
RGBrgb(124, 100, 221)
HSLhsl(252, 64%, 63%)
HSVhsv(252, 55%, 87%)
CMYKcmyk(43.9%, 54.8%, 0%, 13.3%)
CIE-LABlab(50.24, 38.72, -58.92)
CIE-LCHlch(50.24, 70.50, 303.31°)
OKLaboklab(58.7% 0.0573 -0.1678)
OKLCHoklch(58.7% 0.177 288.9)
XYZxyz(25.9168, 18.6189, 70.6209)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64DD #C5DD64
analogous
#6488DD #7C64DD #B864DD
triadic
#7C64DD #DD7C64 #64DD7C
tetradic
#7C64DD #DD6488 #C5DD64 #64DDB8
square
#7C64DD #DD6488 #C5DD64 #64DDB8
split-complementary
#7C64DD #DDB864 #88DD64
monochromatic
#3D24A3 #5232D2 #7C64DD #A696E8 #D1C8F3

Accessibility & contrast

On white

4.45
#7C64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7C64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64DD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64DD#FFFFFF#000000##000000
##7C64DD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#237AE1
Deuteranopia (green-blind)
#2575DA
Tritanopia (blue-blind)
#5F7E97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c64dd;
/* rgb */ color: rgb(124, 100, 221);
/* oklch */ color: oklch(58.7% 0.177 288.9);
Tailwind
colors: {
  custom: {
    50: '#a891e8',
    500: '#7c64dd',
    950: '#000000',
  },
}
SCSS
$custom: #7c64dd;
$custom-light: #a891e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64dd",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 251.901,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.1773,
    "h": 288.9
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#7C64DD
secondary
#DCE4B9
accent
#CC1AA8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7C64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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