#CA9CD8#CA9CD8

#CA9CD8 is a light, moderate purple. Relative luminance 0.413; OKLCH L 75.5% C 0.098 H 318.2°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CA9CD8
RGBrgb(202, 156, 216)
HSLhsl(286, 43%, 73%)
HSVhsv(286, 28%, 85%)
CMYKcmyk(6.5%, 27.8%, 0%, 15.3%)
CIE-LABlab(70.38, 27.60, -23.98)
CIE-LCHlch(70.38, 36.56, 319.02°)
OKLaboklab(75.55% 0.0729 -0.0652)
OKLCHoklch(75.55% 0.098 318.2)
XYZxyz(48.6385, 41.2924, 70.3604)
Luminance0.4129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CD8 #AAD89C
analogous
#AC9CD8 #CA9CD8 #D89CC8
triadic
#CA9CD8 #D8CA9C #9CD8CA
tetradic
#CA9CD8 #D8AC9C #AAD89C #9CC8D8
square
#CA9CD8 #D8AC9C #AAD89C #9CC8D8
split-complementary
#CA9CD8 #C8D89C #9CD8AC
monochromatic
#9A47B3 #B270C7 #CA9CD8 #E2C8E9 #F3E9F6

Accessibility & contrast

On white

2.27
#CA9CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#CA9CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CD8
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CD8#FFFFFF#000000##000000
##CA9CD81.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A9DA
Deuteranopia (green-blind)
#9FAED6
Tritanopia (blue-blind)
#CAA3B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca9cd8;
/* rgb */ color: rgb(202, 156, 216);
/* oklch */ color: oklch(75.5% 0.098 318.2);
Tailwind
colors: {
  custom: {
    50: '#dab9e4',
    500: '#ca9cd8',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cd8;
$custom-light: #dab9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cd8",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 216
  },
  "hsl": {
    "h": 286,
    "s": 43.478,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7555,
    "c": 0.09781,
    "h": 318.2
  },
  "luminance": 0.41291
}

Semantic roles & 50–950 ramp

primary
#CA9CD8
secondary
#E1EDDE
accent
#B72F4F
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA9CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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