#CA66CC#CA66CC

#CA66CC is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.4% C 0.178 H 326.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CA66CC
RGBrgb(202, 102, 204)
HSLhsl(299, 50%, 60%)
HSVhsv(299, 50%, 80%)
CMYKcmyk(1%, 50%, 0%, 20%)
CIE-LABlab(58.43, 53.88, -35.73)
CIE-LCHlch(58.43, 64.65, 326.45°)
OKLaboklab(66.4% 0.149 -0.0982)
OKLCHoklch(66.4% 0.178 326.6)
XYZxyz(40.0068, 26.4211, 60.1075)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA66CC #68CC66
analogous
#9766CC #CA66CC #CC669B
triadic
#CA66CC #CCCA66 #66CCCA
tetradic
#CA66CC #CC9766 #68CC66 #669BCC
square
#CA66CC #CC9766 #68CC66 #669BCC
split-complementary
#CA66CC #9BCC66 #66CC97
monochromatic
#882E8A #B53DB8 #CA66CC #DA94DB #EAC2EB

Accessibility & contrast

On white

3.34
#CA66CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CA66CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA66CC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA66CC#FFFFFF#000000##000000
##CA66CC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CF
Deuteranopia (green-blind)
#7A91C9
Tritanopia (blue-blind)
#CF7190
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca66cc;
/* rgb */ color: rgb(202, 102, 204);
/* oklch */ color: oklch(66.4% 0.178 326.6);
Tailwind
colors: {
  custom: {
    50: '#dc95dc',
    500: '#ca66cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca66cc;
$custom-light: #dc95dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca66cc",
  "rgb": {
    "r": 202,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 298.824,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.66402,
    "c": 0.17846,
    "h": 326.6
  },
  "luminance": 0.26419
}

Semantic roles & 50–950 ramp

primary
#CA66CC
secondary
#B4DBB3
accent
#DA4E51
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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