#CA71BD#CA71BD

#CA71BD is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.3% C 0.147 H 332.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CA71BD
RGBrgb(202, 113, 189)
HSLhsl(309, 46%, 62%)
HSVhsv(309, 44%, 79%)
CMYKcmyk(0%, 44.1%, 6.4%, 20.8%)
CIE-LABlab(59.93, 45.69, -24.89)
CIE-LCHlch(59.93, 52.02, 331.42°)
OKLaboklab(67.31% 0.1304 -0.0674)
OKLCHoklch(67.31% 0.147 332.7)
XYZxyz(39.4473, 28.0432, 51.4693)
Luminance0.2804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71BD #71CA7E
analogous
#AB71CA #CA71BD #CA7191
triadic
#CA71BD #BDCA71 #71BDCA
tetradic
#CA71BD #CAAB71 #71CA7E #7191CA
square
#CA71BD #CAAB71 #71CA7E #7191CA
split-complementary
#CA71BD #91CA71 #71CAAB
monochromatic
#8C347F #B945A8 #CA71BD #DB9ED2 #EBCAE6

Accessibility & contrast

On white

3.18
#CA71BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#CA71BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71BD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71BD#FFFFFF#000000##000000
##CA71BD1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88C0
Deuteranopia (green-blind)
#8795BA
Tritanopia (blue-blind)
#D1768E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca71bd;
/* rgb */ color: rgb(202, 113, 189);
/* oklch */ color: oklch(67.3% 0.147 332.7);
Tailwind
colors: {
  custom: {
    50: '#dc9cd1',
    500: '#ca71bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca71bd;
$custom-light: #dc9cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71bd",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 308.764,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67305,
    "c": 0.14682,
    "h": 332.7
  },
  "luminance": 0.28041
}

Semantic roles & 50–950 ramp

primary
#CA71BD
secondary
#BBDCC0
accent
#B9412D
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E14
muted
#837E82

Preview Lab

Preview with #CA71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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