#C64FB2#C64FB2

#C64FB2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.189 H 334.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C64FB2
RGBrgb(198, 79, 178)
HSLhsl(310, 51%, 54%)
HSVhsv(310, 60%, 78%)
CMYKcmyk(0%, 60.1%, 10.1%, 22.4%)
CIE-LABlab(52.75, 59.04, -29.71)
CIE-LCHlch(52.75, 66.09, 333.29°)
OKLaboklab(61.72% 0.1712 -0.0808)
OKLCHoklch(61.72% 0.189 334.7)
XYZxyz(34.1208, 20.8147, 44.3314)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FB2 #4FC663
analogous
#9F4FC6 #C64FB2 #C64F77
triadic
#C64FB2 #B2C64F #4FB2C6
tetradic
#C64FB2 #C69F4F #4FC663 #4F77C6
square
#C64FB2 #C69F4F #4FC663 #4F77C6
split-complementary
#C64FB2 #77C64F #4FC69F
monochromatic
#752668 #A33590 #C64FB2 #D57DC6 #E4ABDA

Accessibility & contrast

On white

4.07
#C64FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C64FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64FB2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64FB2#FFFFFF#000000##000000
##C64FB21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B5
Deuteranopia (green-blind)
#7484AF
Tritanopia (blue-blind)
#CF5779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c64fb2;
/* rgb */ color: rgb(198, 79, 178);
/* oklch */ color: oklch(61.7% 0.189 334.7);
Tailwind
colors: {
  custom: {
    50: '#da87c9',
    500: '#c64fb2',
    950: '#000000',
  },
}
SCSS
$custom: #c64fb2;
$custom-light: #da87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c64fb2",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 310.084,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.18936,
    "h": 334.7
  },
  "luminance": 0.20812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C64FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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