#CA66DC#CA66DC

#CA66DC is a light, vivid purple. Relative luminance 0.272; OKLCH L 67.2% C 0.193 H 321.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#CA66DC
RGBrgb(202, 102, 220)
HSLhsl(291, 63%, 63%)
HSVhsv(291, 54%, 86%)
CMYKcmyk(8.2%, 53.6%, 0%, 13.7%)
CIE-LABlab(59.19, 56.84, -43.59)
CIE-LCHlch(59.19, 71.63, 322.52°)
OKLaboklab(67.2% 0.151 -0.1208)
OKLCHoklch(67.2% 0.193 321.3)
XYZxyz(42.0253, 27.2285, 70.7382)
Luminance0.2723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA66DC #78DC66
analogous
#8F66DC #CA66DC #DC66B3
triadic
#CA66DC #DCCA66 #66DCCA
tetradic
#CA66DC #DC8F66 #78DC66 #66B3DC
square
#CA66DC #DC8F66 #78DC66 #66B3DC
split-complementary
#CA66DC #B3DC66 #66DC8F
monochromatic
#8F25A2 #B934D1 #CA66DC #DB98E7 #EDCAF3

Accessibility & contrast

On white

3.26
#CA66DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#CA66DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA66DC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA66DC#FFFFFF#000000##000000
##CA66DC1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#7292D9
Tritanopia (blue-blind)
#CC7798
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca66dc;
/* rgb */ color: rgb(202, 102, 220);
/* oklch */ color: oklch(67.2% 0.193 321.3);
Tailwind
colors: {
  custom: {
    50: '#dd96e7',
    500: '#ca66dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca66dc;
$custom-light: #dd96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca66dc",
  "rgb": {
    "r": 202,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 290.847,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.672,
    "c": 0.19339,
    "h": 321.3
  },
  "luminance": 0.27227
}

Semantic roles & 50–950 ramp

primary
#CA66DC
secondary
#C0E4BA
accent
#CB1B36
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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