#CA64D1#CA64D1

#CA64D1 is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.4% C 0.186 H 324.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CA64D1
RGBrgb(202, 100, 209)
HSLhsl(296, 54%, 61%)
HSVhsv(296, 52%, 82%)
CMYKcmyk(3.3%, 52.2%, 0%, 18%)
CIE-LABlab(58.30, 55.76, -38.78)
CIE-LCHlch(58.30, 67.91, 325.18°)
OKLaboklab(66.38% 0.1524 -0.1069)
OKLCHoklch(66.38% 0.186 324.9)
XYZxyz(40.4220, 26.2765, 63.2519)
Luminance0.2627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA64D1 #6BD164
analogous
#9364D1 #CA64D1 #D164A1
triadic
#CA64D1 #D1CA64 #64D1CA
tetradic
#CA64D1 #D19364 #6BD164 #64A1D1
square
#CA64D1 #D19364 #6BD164 #64A1D1
split-complementary
#CA64D1 #A1D164 #64D193
monochromatic
#892B90 #B639BF #CA64D1 #DA93DF #EAC2ED

Accessibility & contrast

On white

3.36
#CA64D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CA64D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA64D1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA64D1#FFFFFF#000000##000000
##CA64D11.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D5
Deuteranopia (green-blind)
#7691CE
Tritanopia (blue-blind)
#CE7191
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca64d1;
/* rgb */ color: rgb(202, 100, 209);
/* oklch */ color: oklch(66.4% 0.186 324.9);
Tailwind
colors: {
  custom: {
    50: '#dc94df',
    500: '#ca64d1',
    950: '#000000',
  },
}
SCSS
$custom: #ca64d1;
$custom-light: #dc94df;
$custom-dark: #000000;
JSON
{
  "hex": "#ca64d1",
  "rgb": {
    "r": 202,
    "g": 100,
    "b": 209
  },
  "hsl": {
    "h": 296.147,
    "s": 54.229,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66377,
    "c": 0.18618,
    "h": 324.9
  },
  "luminance": 0.26274
}

Semantic roles & 50–950 ramp

primary
#CA64D1
secondary
#B6DDB4
accent
#C2242E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA64D1

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

Preview Lab → · Contrast checker → · Palette generator →

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