#C64CB1#C64CB1

#C64CB1 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.193 H 335.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C64CB1
RGBrgb(198, 76, 177)
HSLhsl(310, 52%, 54%)
HSVhsv(310, 62%, 78%)
CMYKcmyk(0%, 61.6%, 10.6%, 22.4%)
CIE-LABlab(52.23, 60.17, -29.92)
CIE-LCHlch(52.23, 67.20, 333.56°)
OKLaboklab(61.33% 0.1749 -0.0814)
OKLCHoklch(61.33% 0.193 335)
XYZxyz(33.8092, 20.3516, 43.7340)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64CB1 #4CC661
analogous
#9E4CC6 #C64CB1 #C64C74
triadic
#C64CB1 #B1C64C #4CB1C6
tetradic
#C64CB1 #C69E4C #4CC661 #4C74C6
square
#C64CB1 #C69E4C #4CC661 #4C74C6
split-complementary
#C64CB1 #74C64C #4CC69E
monochromatic
#732565 #A1338E #C64CB1 #D57AC5 #E4A9D9

Accessibility & contrast

On white

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

On black

5.07
#C64CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64CB1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64CB1#FFFFFF#000000##000000
##C64CB11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#7283AE
Tritanopia (blue-blind)
#CF5478
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c64cb1;
/* rgb */ color: rgb(198, 76, 177);
/* oklch */ color: oklch(61.3% 0.193 335.0);
Tailwind
colors: {
  custom: {
    50: '#da85c8',
    500: '#c64cb1',
    950: '#000000',
  },
}
SCSS
$custom: #c64cb1;
$custom-light: #da85c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c64cb1",
  "rgb": {
    "r": 198,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 310.328,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61333,
    "c": 0.1929,
    "h": 335
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#C64CB1
secondary
#9DD1A6
accent
#DB654D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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