#CA9CDC#CA9CDC

#CA9CDC is a light, moderate purple. Relative luminance 0.415; OKLCH L 75.7% C 0.102 H 316.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CA9CDC
RGBrgb(202, 156, 220)
HSLhsl(283, 48%, 74%)
HSVhsv(283, 29%, 86%)
CMYKcmyk(8.2%, 29.1%, 0%, 13.7%)
CIE-LABlab(70.53, 28.40, -25.96)
CIE-LCHlch(70.53, 38.48, 317.58°)
OKLaboklab(75.71% 0.074 -0.0708)
OKLCHoklch(75.71% 0.102 316.3)
XYZxyz(49.1619, 41.5017, 73.1171)
Luminance0.4150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CDC #AEDC9C
analogous
#AA9CDC #CA9CDC #DC9CCE
triadic
#CA9CDC #DCCA9C #9CDCCA
tetradic
#CA9CDC #DCAA9C #AEDC9C #9CCEDC
square
#CA9CDC #DCAA9C #AEDC9C #9CCEDC
split-complementary
#CA9CDC #CEDC9C #9CDCAA
monochromatic
#9942BB #B26FCC #CA9CDC #E2C9EC #F3E8F7

Accessibility & contrast

On white

2.26
#CA9CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#CA9CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CDC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CDC#FFFFFF#000000##000000
##CA9CDC1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AADF
Deuteranopia (green-blind)
#9EAEDA
Tritanopia (blue-blind)
#CAA4B3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca9cdc;
/* rgb */ color: rgb(202, 156, 220);
/* oklch */ color: oklch(75.7% 0.102 316.3);
Tailwind
colors: {
  custom: {
    50: '#dbb9e7',
    500: '#ca9cdc',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cdc;
$custom-light: #dbb9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cdc",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 220
  },
  "hsl": {
    "h": 283.125,
    "s": 47.761,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75709,
    "c": 0.10241,
    "h": 316.3
  },
  "luminance": 0.41501
}

Semantic roles & 50–950 ramp

primary
#CA9CDC
secondary
#E2EEDD
accent
#BB2A53
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA9CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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