#CA8CCF#CA8CCF

#CA8CCF is a light, moderate purple. Relative luminance 0.358; OKLCH L 72.4% C 0.117 H 324.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CA8CCF
RGBrgb(202, 140, 207)
HSLhsl(296, 41%, 68%)
HSVhsv(296, 32%, 81%)
CMYKcmyk(2.4%, 32.4%, 0%, 18.8%)
CIE-LABlab(66.38, 34.59, -25.11)
CIE-LCHlch(66.38, 42.75, 324.02°)
OKLaboklab(72.4% 0.0944 -0.0683)
OKLCHoklch(72.4% 0.117 324.1)
XYZxyz(44.9965, 35.8192, 63.5629)
Luminance0.3582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CCF #91CF8C
analogous
#A88CCF #CA8CCF #CF8CB2
triadic
#CA8CCF #CFCA8C #8CCFCA
tetradic
#CA8CCF #CFA88C #91CF8C #8CB2CF
square
#CA8CCF #CFA88C #91CF8C #8CB2CF
split-complementary
#CA8CCF #B2CF8C #8CCFA8
monochromatic
#98429E #B661BD #CA8CCF #DEB7E1 #F2E2F3

Accessibility & contrast

On white

2.57
#CA8CCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#CA8CCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CCF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CCF#FFFFFF#000000##000000
##CA8CCF1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#869DD2
Deuteranopia (green-blind)
#95A4CD
Tritanopia (blue-blind)
#CD93A4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca8ccf;
/* rgb */ color: rgb(202, 140, 207);
/* oklch */ color: oklch(72.4% 0.117 324.1);
Tailwind
colors: {
  custom: {
    50: '#dbaedd',
    500: '#ca8ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ccf;
$custom-light: #dbaedd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ccf",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 207
  },
  "hsl": {
    "h": 295.522,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72395,
    "c": 0.11651,
    "h": 324.1
  },
  "luminance": 0.35818
}

Semantic roles & 50–950 ramp

primary
#CA8CCF
secondary
#D3E6D1
accent
#B4313B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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