#CA66CA#CA66CA

#CA66CA is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.3% C 0.177 H 327.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CA66CA
RGBrgb(202, 102, 202)
HSLhsl(300, 49%, 60%)
HSVhsv(300, 50%, 79%)
CMYKcmyk(0%, 49.5%, 0%, 20.8%)
CIE-LABlab(58.34, 53.52, -34.74)
CIE-LCHlch(58.34, 63.80, 327.01°)
OKLaboklab(66.31% 0.1487 -0.0953)
OKLCHoklch(66.31% 0.177 327.3)
XYZxyz(39.7685, 26.3258, 58.8523)
Luminance0.2632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA66CA #66CA66
analogous
#9866CA #CA66CA #CA6698
triadic
#CA66CA #CACA66 #66CACA
tetradic
#CA66CA #CA9866 #66CA66 #6698CA
square
#CA66CA #CA9866 #66CA66 #6698CA
split-complementary
#CA66CA #98CA66 #66CA98
monochromatic
#872F87 #B43EB4 #CA66CA #DA93DA #E9C1E9

Accessibility & contrast

On white

3.35
#CA66CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#CA66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA66CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA66CA#FFFFFF#000000##000000
##CA66CA1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#7B91C7
Tritanopia (blue-blind)
#CF718F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca66ca;
/* rgb */ color: rgb(202, 102, 202);
/* oklch */ color: oklch(66.3% 0.177 327.3);
Tailwind
colors: {
  custom: {
    50: '#dc95da',
    500: '#ca66ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca66ca;
$custom-light: #dc95da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca66ca",
  "rgb": {
    "r": 202,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66307,
    "c": 0.17664,
    "h": 327.3
  },
  "luminance": 0.26324
}

Semantic roles & 50–950 ramp

primary
#CA66CA
secondary
#B2D9B2
accent
#D85050
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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