#CA66EB#CA66EB

#CA66EB is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.0% C 0.208 H 317.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CA66EB
RGBrgb(202, 102, 235)
HSLhsl(285, 77%, 66%)
HSVhsv(285, 57%, 92%)
CMYKcmyk(14%, 56.6%, 0%, 7.8%)
CIE-LABlab(59.94, 59.75, -50.79)
CIE-LCHlch(59.94, 78.42, 319.64°)
OKLaboklab(68% 0.1521 -0.1417)
OKLCHoklch(68% 0.208 317)
XYZxyz(44.1017, 28.0591, 81.6740)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA66EB #87EB66
analogous
#8766EB #CA66EB #EB66C9
triadic
#CA66EB #EBCA66 #66EBCA
tetradic
#CA66EB #EB8766 #87EB66 #66C9EB
square
#CA66EB #EB8766 #87EB66 #66C9EB
split-complementary
#CA66EB #C9EB66 #66EB87
monochromatic
#9519BE #B730E4 #CA66EB #DD9CF2 #EFD2F9

Accessibility & contrast

On white

3.18
#CA66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#CA66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA66EB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA66EB#FFFFFF#000000##000000
##CA66EB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#C97C9F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca66eb;
/* rgb */ color: rgb(202, 102, 235);
/* oklch */ color: oklch(68.0% 0.208 317.0);
Tailwind
colors: {
  custom: {
    50: '#dd96f2',
    500: '#ca66eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca66eb;
$custom-light: #dd96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca66eb",
  "rgb": {
    "r": 202,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 285.113,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68001,
    "c": 0.20793,
    "h": 317
  },
  "luminance": 0.28057
}

Semantic roles & 50–950 ramp

primary
#CA66EB
secondary
#CBECC1
accent
#D90C3F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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