#C64FA5#C64FA5

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

Color values

HEX#C64FA5
RGBrgb(198, 79, 165)
HSLhsl(317, 51%, 54%)
HSVhsv(317, 60%, 78%)
CMYKcmyk(0%, 60.1%, 16.7%, 22.4%)
CIE-LABlab(52.19, 57.05, -22.96)
CIE-LCHlch(52.19, 61.49, 338.07°)
OKLaboklab(61.14% 0.1689 -0.0617)
OKLCHoklch(61.14% 0.18 339.9)
XYZxyz(32.8769, 20.3171, 37.7801)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FA5 #4FC670
analogous
#AC4FC6 #C64FA5 #C64F6A
triadic
#C64FA5 #A5C64F #4FA5C6
tetradic
#C64FA5 #C6AC4F #4FC670 #4F6AC6
square
#C64FA5 #C6AC4F #4FC670 #4F6AC6
split-complementary
#C64FA5 #6AC64F #4FC6AC
monochromatic
#75265F #A33584 #C64FA5 #D57DBD #E4ABD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C64FA5#FFFFFF#000000##000000
##C64FA51.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)
#5570A8
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#D15273
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64fa5;
/* rgb */ color: rgb(198, 79, 165);
/* oklch */ color: oklch(61.1% 0.180 339.9);
Tailwind
colors: {
  custom: {
    50: '#da87c0',
    500: '#c64fa5',
    950: '#000000',
  },
}
SCSS
$custom: #c64fa5;
$custom-light: #da87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c64fa5",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 316.639,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61137,
    "c": 0.17985,
    "h": 339.9
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#C64FA5
secondary
#9FD2AD
accent
#DB744D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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