#C64CB9#C64CB9

#C64CB9 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.7% C 0.199 H 332.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C64CB9
RGBrgb(198, 76, 185)
HSLhsl(306, 52%, 54%)
HSVhsv(306, 62%, 78%)
CMYKcmyk(0%, 61.6%, 6.6%, 22.4%)
CIE-LABlab(52.60, 61.44, -34.00)
CIE-LCHlch(52.60, 70.22, 331.04°)
OKLaboklab(61.72% 0.1759 -0.0931)
OKLCHoklch(61.72% 0.199 332.1)
XYZxyz(34.6301, 20.6800, 48.0572)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64CB9 #4CC659
analogous
#964CC6 #C64CB9 #C64C7C
triadic
#C64CB9 #B9C64C #4CB9C6
tetradic
#C64CB9 #C6964C #4CC659 #4C7CC6
square
#C64CB9 #C6964C #4CC659 #4C7CC6
split-complementary
#C64CB9 #7CC64C #4CC696
monochromatic
#73256B #A13396 #C64CB9 #D57ACB #E4A9DD

Accessibility & contrast

On white

4.09
#C64CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#C64CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64CB9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64CB9#FFFFFF#000000##000000
##C64CB91.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4772BC
Deuteranopia (green-blind)
#6F84B6
Tritanopia (blue-blind)
#CE577C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c64cb9;
/* rgb */ color: rgb(198, 76, 185);
/* oklch */ color: oklch(61.7% 0.199 332.1);
Tailwind
colors: {
  custom: {
    50: '#da86ce',
    500: '#c64cb9',
    950: '#000000',
  },
}
SCSS
$custom: #c64cb9;
$custom-light: #da86ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c64cb9",
  "rgb": {
    "r": 198,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 306.393,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.19904,
    "h": 332.1
  },
  "luminance": 0.20677
}

Semantic roles & 50–950 ramp

primary
#C64CB9
secondary
#9DD1A2
accent
#DB5C4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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