#C64FA7#C64FA7

#C64FA7 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.181 H 339.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C64FA7
RGBrgb(198, 79, 167)
HSLhsl(316, 51%, 54%)
HSVhsv(316, 60%, 78%)
CMYKcmyk(0%, 60.1%, 15.7%, 22.4%)
CIE-LABlab(52.28, 57.34, -24.01)
CIE-LCHlch(52.28, 62.17, 337.28°)
OKLaboklab(61.22% 0.1693 -0.0647)
OKLCHoklch(61.22% 0.181 339.1)
XYZxyz(33.0603, 20.3905, 38.7463)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FA7 #4FC66E
analogous
#AA4FC6 #C64FA7 #C64F6C
triadic
#C64FA7 #A7C64F #4FA7C6
tetradic
#C64FA7 #C6AA4F #4FC66E #4F6CC6
square
#C64FA7 #C6AA4F #4FC66E #4F6CC6
split-complementary
#C64FA7 #6CC64F #4FC6AA
monochromatic
#752660 #A33586 #C64FA7 #D57DBE #E4ABD5

Accessibility & contrast

On white

4.14
#C64FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C64FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64FA7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64FA7#FFFFFF#000000##000000
##C64FA71.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#D05374
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c64fa7;
/* rgb */ color: rgb(198, 79, 167);
/* oklch */ color: oklch(61.2% 0.181 339.1);
Tailwind
colors: {
  custom: {
    50: '#da87c1',
    500: '#c64fa7',
    950: '#000000',
  },
}
SCSS
$custom: #c64fa7;
$custom-light: #da87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c64fa7",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 315.63,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.18126,
    "h": 339.1
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

primary
#C64FA7
secondary
#9FD2AC
accent
#DB724D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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