#CA99DC#CA99DC

#CA99DC is a light, moderate purple. Relative luminance 0.405; OKLCH L 75.2% C 0.108 H 316.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CA99DC
RGBrgb(202, 153, 220)
HSLhsl(284, 49%, 73%)
HSVhsv(284, 30%, 86%)
CMYKcmyk(8.2%, 30.5%, 0%, 13.7%)
CIE-LABlab(69.83, 30.05, -27.02)
CIE-LCHlch(69.83, 40.41, 318.03°)
OKLaboklab(75.18% 0.0785 -0.0738)
OKLCHoklch(75.18% 0.108 316.8)
XYZxyz(48.6647, 40.5073, 72.9514)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99DC #ABDC99
analogous
#A899DC #CA99DC #DC99CC
triadic
#CA99DC #DCCA99 #99DCCA
tetradic
#CA99DC #DCA899 #ABDC99 #99CCDC
square
#CA99DC #DCA899 #ABDC99 #99CCDC
split-complementary
#CA99DC #CCDC99 #99DCA8
monochromatic
#9A40BB #B26BCC #CA99DC #E2C7EC #F3E8F7

Accessibility & contrast

On white

2.31
#CA99DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CA99DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99DC
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99DC#FFFFFF#000000##000000
##CA99DC1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8DF
Deuteranopia (green-blind)
#9BACDA
Tritanopia (blue-blind)
#CAA1B1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca99dc;
/* rgb */ color: rgb(202, 153, 220);
/* oklch */ color: oklch(75.2% 0.108 316.8);
Tailwind
colors: {
  custom: {
    50: '#dbb7e7',
    500: '#ca99dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca99dc;
$custom-light: #dbb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99dc",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 283.881,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75178,
    "c": 0.10769,
    "h": 316.8
  },
  "luminance": 0.40506
}

Semantic roles & 50–950 ramp

primary
#CA99DC
secondary
#E1EEDD
accent
#BC2951
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA99DC

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

Preview Lab → · Contrast checker → · Palette generator →

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