#C64FA4#C64FA4

#C64FA4 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.179 H 340.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C64FA4
RGBrgb(198, 79, 164)
HSLhsl(317, 51%, 54%)
HSVhsv(317, 60%, 78%)
CMYKcmyk(0%, 60.1%, 17.2%, 22.4%)
CIE-LABlab(52.15, 56.90, -22.44)
CIE-LCHlch(52.15, 61.16, 338.48°)
OKLaboklab(61.09% 0.1687 -0.0603)
OKLCHoklch(61.09% 0.179 340.3)
XYZxyz(32.7862, 20.2809, 37.3026)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FA4 #4FC671
analogous
#AD4FC6 #C64FA4 #C64F69
triadic
#C64FA4 #A4C64F #4FA4C6
tetradic
#C64FA4 #C6AD4F #4FC671 #4F69C6
square
#C64FA4 #C6AD4F #4FC671 #4F69C6
split-complementary
#C64FA4 #69C64F #4FC6AD
monochromatic
#75265E #A33584 #C64FA4 #D57DBC #E4ABD4

Accessibility & contrast

On white

4.15
#C64FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C64FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64FA4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64FA4#FFFFFF#000000##000000
##C64FA41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A7
Deuteranopia (green-blind)
#7983A1
Tritanopia (blue-blind)
#D15172
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64fa4;
/* rgb */ color: rgb(198, 79, 164);
/* oklch */ color: oklch(61.1% 0.179 340.3);
Tailwind
colors: {
  custom: {
    50: '#da87bf',
    500: '#c64fa4',
    950: '#000000',
  },
}
SCSS
$custom: #c64fa4;
$custom-light: #da87bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c64fa4",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 317.143,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61094,
    "c": 0.17917,
    "h": 340.3
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#C64FA4
secondary
#9FD2AE
accent
#DB764D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64FA4

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

Preview Lab → · Contrast checker → · Palette generator →

#C64FA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva