#CA64C2#CA64C2

#CA64C2 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.7% C 0.173 H 330.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CA64C2
RGBrgb(202, 100, 194)
HSLhsl(305, 49%, 59%)
HSVhsv(305, 50%, 79%)
CMYKcmyk(0%, 50.5%, 4%, 20.8%)
CIE-LABlab(57.63, 53.09, -31.30)
CIE-LCHlch(57.63, 61.63, 329.48°)
OKLaboklab(65.66% 0.1502 -0.0855)
OKLCHoklch(65.66% 0.173 330.3)
XYZxyz(38.6516, 25.5683, 53.9278)
Luminance0.2557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA64C2 #64CA6C
analogous
#9F64CA #CA64C2 #CA648F
triadic
#CA64C2 #C2CA64 #64C2CA
tetradic
#CA64C2 #CA9F64 #64CA6C #648FCA
square
#CA64C2 #CA9F64 #64CA6C #648FCA
split-complementary
#CA64C2 #8FCA64 #64CA9F
monochromatic
#862E7F #B33DAA #CA64C2 #DA92D4 #E9BFE6

Accessibility & contrast

On white

3.44
#CA64C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CA64C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA64C2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA64C2#FFFFFF#000000##000000
##CA64C21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C5
Deuteranopia (green-blind)
#7D8FBF
Tritanopia (blue-blind)
#D16D8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca64c2;
/* rgb */ color: rgb(202, 100, 194);
/* oklch */ color: oklch(65.7% 0.173 330.3);
Tailwind
colors: {
  custom: {
    50: '#dc94d4',
    500: '#ca64c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca64c2;
$custom-light: #dc94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca64c2",
  "rgb": {
    "r": 202,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 304.706,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65659,
    "c": 0.17279,
    "h": 330.3
  },
  "luminance": 0.25566
}

Semantic roles & 50–950 ramp

primary
#CA64C2
secondary
#B1D9B4
accent
#D95A4F
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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