#CAA7CB#CAA7CB

#CAA7CB is a light, moderate purple. Relative luminance 0.445; OKLCH L 77.1% C 0.064 H 325.3°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CAA7CB
RGBrgb(202, 167, 203)
HSLhsl(298, 26%, 73%)
HSVhsv(298, 18%, 80%)
CMYKcmyk(0.5%, 17.7%, 0%, 20.4%)
CIE-LABlab(72.57, 19.04, -13.52)
CIE-LCHlch(72.57, 23.35, 324.64°)
OKLaboklab(77.08% 0.0523 -0.0362)
OKLCHoklch(77.08% 0.064 325.3)
XYZxyz(48.9540, 44.5068, 62.5002)
Luminance0.4451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7CB #A8CBA7
analogous
#B8A7CB #CAA7CB #CBA7BA
triadic
#CAA7CB #CBCAA7 #A7CBCA
tetradic
#CAA7CB #CBB8A7 #A8CBA7 #A7BACB
square
#CAA7CB #CBB8A7 #A8CBA7 #A7BACB
split-complementary
#CAA7CB #BACBA7 #A7CBB8
monochromatic
#9A5C9C #B381B4 #CAA7CB #E1CDE2 #F3ECF4

Accessibility & contrast

On white

2.12
#CAA7CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CAA7CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7CB
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7CB#FFFFFF#000000##000000
##CAA7CB1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5AFCD
Deuteranopia (green-blind)
#ACB4CA
Tritanopia (blue-blind)
#CCAAB3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #caa7cb;
/* rgb */ color: rgb(202, 167, 203);
/* oklch */ color: oklch(77.1% 0.064 325.3);
Tailwind
colors: {
  custom: {
    50: '#dac1da',
    500: '#caa7cb',
    950: '#000000',
  },
}
SCSS
$custom: #caa7cb;
$custom-light: #dac1da;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7cb",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 203
  },
  "hsl": {
    "h": 298.333,
    "s": 25.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.77084,
    "c": 0.06363,
    "h": 325.3
  },
  "luminance": 0.44506
}

Semantic roles & 50–950 ramp

primary
#CAA7CB
secondary
#E1EAE1
accent
#A44144
background
#FDFBFD
surface
#FAF7FA
border
#D3D0D3
text
#151215
muted
#838183

Preview Lab

Preview with #CAA7CB

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

Preview Lab → · Contrast checker → · Palette generator →

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