#CA66FF#CA66FF

#CA66FF is a light, highly saturated violet. Relative luminance 0.293; OKLCH L 69.1% C 0.228 H 312.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#CA66FF
RGBrgb(202, 102, 255)
HSLhsl(279, 100%, 70%)
HSVhsv(279, 60%, 100%)
CMYKcmyk(20.8%, 60%, 0%, 0%)
CIE-LABlab(61.03, 63.80, -60.13)
CIE-LCHlch(61.03, 87.68, 316.70°)
OKLaboklab(69.14% 0.1526 -0.169)
OKLCHoklch(69.14% 0.228 312.1)
XYZxyz(47.1553, 29.2805, 97.7560)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA66FF #9BFF66
analogous
#7E66FF #CA66FF #FF66E7
triadic
#CA66FF #FFCA66 #66FFCA
tetradic
#CA66FF #FF7E66 #9BFF66 #66E7FF
square
#CA66FF #FF7E66 #9BFF66 #66E7FF
split-complementary
#CA66FF #E7FF66 #66FF7E
monochromatic
#9900EB #B529FF #CA66FF #DFA3FF #F4E0FF

Accessibility & contrast

On white

3.06
#CA66FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#CA66FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA66FF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA66FF#FFFFFF#000000##000000
##CA66FF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8EFF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#C482A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca66ff;
/* rgb */ color: rgb(202, 102, 255);
/* oklch */ color: oklch(69.1% 0.228 312.1);
Tailwind
colors: {
  custom: {
    50: '#de96ff',
    500: '#ca66ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca66ff;
$custom-light: #de96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca66ff",
  "rgb": {
    "r": 202,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 279.216,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.69143,
    "c": 0.22772,
    "h": 312.1
  },
  "luminance": 0.29279
}

Semantic roles & 50–950 ramp

primary
#CA66FF
secondary
#DAF6CB
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CA66FF

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

Preview Lab → · Contrast checker → · Palette generator →

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