#C64BA4#C64BA4

#C64BA4 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.185 H 340.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C64BA4
RGBrgb(198, 75, 164)
HSLhsl(317, 52%, 54%)
HSVhsv(317, 62%, 78%)
CMYKcmyk(0%, 62.1%, 17.2%, 22.4%)
CIE-LABlab(51.52, 58.62, -23.41)
CIE-LCHlch(51.52, 63.13, 338.23°)
OKLaboklab(60.63% 0.1739 -0.063)
OKLCHoklch(60.63% 0.185 340.1)
XYZxyz(32.5063, 19.7211, 37.2093)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64BA4 #4BC66D
analogous
#AA4BC6 #C64BA4 #C64B66
triadic
#C64BA4 #A4C64B #4BA4C6
tetradic
#C64BA4 #C6AA4B #4BC66D #4B66C6
square
#C64BA4 #C6AA4B #4BC66D #4B66C6
split-complementary
#C64BA4 #66C64B #4BC6AA
monochromatic
#72245D #A13382 #C64BA4 #D579BB #E3A8D3

Accessibility & contrast

On white

4.25
#C64BA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C64BA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64BA4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64BA4#FFFFFF#000000##000000
##C64BA41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA7
Deuteranopia (green-blind)
#7782A1
Tritanopia (blue-blind)
#D14E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c64ba4;
/* rgb */ color: rgb(198, 75, 164);
/* oklch */ color: oklch(60.6% 0.185 340.1);
Tailwind
colors: {
  custom: {
    50: '#da85bf',
    500: '#c64ba4',
    950: '#000000',
  },
}
SCSS
$custom: #c64ba4;
$custom-light: #da85bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c64ba4",
  "rgb": {
    "r": 198,
    "g": 75,
    "b": 164
  },
  "hsl": {
    "h": 316.585,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.18495,
    "h": 340.1
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#C64BA4
secondary
#9CD1AB
accent
#DB744C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C64BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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