#CA66E2#CA66E2

#CA66E2 is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.5% C 0.199 H 319.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#CA66E2
RGBrgb(202, 102, 226)
HSLhsl(288, 68%, 64%)
HSVhsv(288, 55%, 89%)
CMYKcmyk(10.6%, 54.9%, 0%, 11.4%)
CIE-LABlab(59.48, 57.99, -46.49)
CIE-LCHlch(59.48, 74.32, 321.28°)
OKLaboklab(67.51% 0.1515 -0.1292)
OKLCHoklch(67.51% 0.199 319.5)
XYZxyz(42.8342, 27.5521, 74.9985)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA66E2 #7EE266
analogous
#8C66E2 #CA66E2 #E266BC
triadic
#CA66E2 #E2CA66 #66E2CA
tetradic
#CA66E2 #E28C66 #7EE266 #66BCE2
square
#CA66E2 #E28C66 #7EE266 #66BCE2
split-complementary
#CA66E2 #BCE266 #66E28C
monochromatic
#9221AD #B833D8 #CA66E2 #DC99EC #EECDF6

Accessibility & contrast

On white

3.23
#CA66E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#CA66E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA66E2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA66E2#FFFFFF#000000##000000
##CA66E21.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#6F93DF
Tritanopia (blue-blind)
#CB799B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca66e2;
/* rgb */ color: rgb(202, 102, 226);
/* oklch */ color: oklch(67.5% 0.199 319.5);
Tailwind
colors: {
  custom: {
    50: '#dd96eb',
    500: '#ca66e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca66e2;
$custom-light: #dd96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca66e2",
  "rgb": {
    "r": 202,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 288.387,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67514,
    "c": 0.19917,
    "h": 319.5
  },
  "luminance": 0.2755
}

Semantic roles & 50–950 ramp

primary
#CA66E2
secondary
#C5E7BC
accent
#D0153A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA66E2

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

Preview Lab → · Contrast checker → · Palette generator →

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