#C64FB3#C64FB3

#C64FB3 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.190 H 334.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C64FB3
RGBrgb(198, 79, 179)
HSLhsl(310, 51%, 54%)
HSVhsv(310, 60%, 78%)
CMYKcmyk(0%, 60.1%, 9.6%, 22.4%)
CIE-LABlab(52.79, 59.19, -30.22)
CIE-LCHlch(52.79, 66.46, 332.96°)
OKLaboklab(61.77% 0.1714 -0.0823)
OKLCHoklch(61.77% 0.19 334.4)
XYZxyz(34.2215, 20.8550, 44.8621)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FB3 #4FC662
analogous
#9E4FC6 #C64FB3 #C64F78
triadic
#C64FB3 #B3C64F #4FB3C6
tetradic
#C64FB3 #C69E4F #4FC662 #4F78C6
square
#C64FB3 #C69E4F #4FC662 #4F78C6
split-complementary
#C64FB3 #78C64F #4FC69E
monochromatic
#752668 #A33591 #C64FB3 #D57DC7 #E4ABDB

Accessibility & contrast

On white

4.06
#C64FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C64FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64FB3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64FB3#FFFFFF#000000##000000
##C64FB31.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#7384B0
Tritanopia (blue-blind)
#CF577A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c64fb3;
/* rgb */ color: rgb(198, 79, 179);
/* oklch */ color: oklch(61.8% 0.190 334.4);
Tailwind
colors: {
  custom: {
    50: '#da87ca',
    500: '#c64fb3',
    950: '#000000',
  },
}
SCSS
$custom: #c64fb3;
$custom-light: #da87ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c64fb3",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 309.58,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.19013,
    "h": 334.4
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#C64FB3
secondary
#9FD2A7
accent
#DB644D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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