#C64DB3#C64DB3

#C64DB3 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.193 H 334.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C64DB3
RGBrgb(198, 77, 179)
HSLhsl(309, 51%, 54%)
HSVhsv(309, 61%, 78%)
CMYKcmyk(0%, 61.1%, 9.6%, 22.4%)
CIE-LABlab(52.48, 60.06, -30.71)
CIE-LCHlch(52.48, 67.45, 332.92°)
OKLaboklab(61.54% 0.1739 -0.0837)
OKLCHoklch(61.54% 0.193 334.3)
XYZxyz(34.0795, 20.5708, 44.8147)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64DB3 #4DC660
analogous
#9C4DC6 #C64DB3 #C64D77
triadic
#C64DB3 #B3C64D #4DB3C6
tetradic
#C64DB3 #C69C4D #4DC660 #4D77C6
square
#C64DB3 #C69C4D #4DC660 #4D77C6
split-complementary
#C64DB3 #77C64D #4DC69C
monochromatic
#742567 #A23491 #C64DB3 #D57BC7 #E4AADB

Accessibility & contrast

On white

4.11
#C64DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C64DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64DB3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64DB3#FFFFFF#000000##000000
##C64DB31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#CF5579
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c64db3;
/* rgb */ color: rgb(198, 77, 179);
/* oklch */ color: oklch(61.5% 0.193 334.3);
Tailwind
colors: {
  custom: {
    50: '#da86ca',
    500: '#c64db3',
    950: '#000000',
  },
}
SCSS
$custom: #c64db3;
$custom-light: #da86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c64db3",
  "rgb": {
    "r": 198,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 309.421,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61541,
    "c": 0.19299,
    "h": 334.3
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

primary
#C64DB3
secondary
#9ED1A6
accent
#DB634D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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