#7D64C2#7D64C2

#7D64C2 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.1% C 0.142 H 293.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D64C2
RGBrgb(125, 100, 194)
HSLhsl(256, 44%, 58%)
HSVhsv(256, 48%, 76%)
CMYKcmyk(35.6%, 48.5%, 0%, 23.9%)
CIE-LABlab(48.72, 31.47, -45.92)
CIE-LCHlch(48.72, 55.67, 304.43°)
OKLaboklab(57.07% 0.0568 -0.1296)
OKLCHoklch(57.07% 0.142 293.7)
XYZxyz(22.7497, 17.3689, 53.1824)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64C2 #A9C264
analogous
#647AC2 #7D64C2 #AC64C2
triadic
#7D64C2 #C27D64 #64C27D
tetradic
#7D64C2 #C2647A #A9C264 #64C2AC
square
#7D64C2 #C2647A #A9C264 #64C2AC
split-complementary
#7D64C2 #C2AC64 #7AC264
monochromatic
#44307B #5D42A7 #7D64C2 #A290D3 #C7BCE5

Accessibility & contrast

On white

4.69
#7D64C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7D64C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64C2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64C2#FFFFFF#000000##FFFFFF
##7D64C21.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#4672C0
Tritanopia (blue-blind)
#6C768A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d64c2;
/* rgb */ color: rgb(125, 100, 194);
/* oklch */ color: oklch(57.1% 0.142 293.7);
Tailwind
colors: {
  custom: {
    50: '#a690d5',
    500: '#7d64c2',
    950: '#000000',
  },
}
SCSS
$custom: #7d64c2;
$custom-light: #a690d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64c2",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 255.957,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57073,
    "c": 0.14151,
    "h": 293.7
  },
  "luminance": 0.17369
}

Semantic roles & 50–950 ramp

primary
#7D64C2
secondary
#CAD4AE
accent
#D355B2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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