#CA64F5#CA64F5

#CA64F5 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.3% C 0.221 H 314.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#CA64F5
RGBrgb(202, 100, 245)
HSLhsl(282, 88%, 68%)
HSVhsv(282, 59%, 96%)
CMYKcmyk(17.6%, 59.2%, 0%, 3.9%)
CIE-LABlab(60.13, 62.69, -56.05)
CIE-LCHlch(60.13, 84.09, 318.20°)
OKLaboklab(68.31% 0.1549 -0.1571)
OKLCHoklch(68.31% 0.221 314.6)
XYZxyz(45.3930, 28.2649, 89.4330)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA64F5 #8FF564
analogous
#8164F5 #CA64F5 #F564D7
triadic
#CA64F5 #F5CA64 #64F5CA
tetradic
#CA64F5 #F58164 #8FF564 #64D7F5
square
#CA64F5 #F58164 #8FF564 #64D7F5
split-complementary
#CA64F5 #D7F564 #64F581
monochromatic
#970DD1 #B62BF1 #CA64F5 #DE9DF9 #F1D7FC

Accessibility & contrast

On white

3.16
#CA64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#CA64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA64F5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA64F5#FFFFFF#000000##000000
##CA64F51.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BFA
Deuteranopia (green-blind)
#6194F1
Tritanopia (blue-blind)
#C77EA3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ca64f5;
/* rgb */ color: rgb(202, 100, 245);
/* oklch */ color: oklch(68.3% 0.221 314.6);
Tailwind
colors: {
  custom: {
    50: '#dd95f9',
    500: '#ca64f5',
    950: '#000000',
  },
}
SCSS
$custom: #ca64f5;
$custom-light: #dd95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca64f5",
  "rgb": {
    "r": 202,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 282.207,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68309,
    "c": 0.22062,
    "h": 314.6
  },
  "luminance": 0.28263
}

Semantic roles & 50–950 ramp

primary
#CA64F5
secondary
#D1F1C4
accent
#E40144
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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