#C64CB2#C64CB2

#C64CB2 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.4% C 0.194 H 334.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C64CB2
RGBrgb(198, 76, 178)
HSLhsl(310, 52%, 54%)
HSVhsv(310, 62%, 78%)
CMYKcmyk(0%, 61.6%, 10.1%, 22.4%)
CIE-LABlab(52.28, 60.32, -30.44)
CIE-LCHlch(52.28, 67.57, 333.23°)
OKLaboklab(61.38% 0.175 -0.0829)
OKLCHoklch(61.38% 0.194 334.7)
XYZxyz(33.9093, 20.3917, 44.2609)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64CB2 #4CC660
analogous
#9D4CC6 #C64CB2 #C64C75
triadic
#C64CB2 #B2C64C #4CB2C6
tetradic
#C64CB2 #C69D4C #4CC660 #4C75C6
square
#C64CB2 #C69D4C #4CC660 #4C75C6
split-complementary
#C64CB2 #75C64C #4CC69D
monochromatic
#732566 #A1338F #C64CB2 #D57AC6 #E4A9DA

Accessibility & contrast

On white

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

On black

5.08
#C64CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64CB2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64CB2#FFFFFF#000000##000000
##C64CB21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c64cb2;
/* rgb */ color: rgb(198, 76, 178);
/* oklch */ color: oklch(61.4% 0.194 334.7);
Tailwind
colors: {
  custom: {
    50: '#da86c9',
    500: '#c64cb2',
    950: '#000000',
  },
}
SCSS
$custom: #c64cb2;
$custom-light: #da86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c64cb2",
  "rgb": {
    "r": 198,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 309.836,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6138,
    "c": 0.19365,
    "h": 334.7
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C64CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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