#CA71BC#CA71BC

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

Color values

HEX#CA71BC
RGBrgb(202, 113, 188)
HSLhsl(309, 46%, 62%)
HSVhsv(309, 44%, 79%)
CMYKcmyk(0%, 44.1%, 6.9%, 20.8%)
CIE-LABlab(59.89, 45.51, -24.38)
CIE-LCHlch(59.89, 51.63, 331.83°)
OKLaboklab(67.26% 0.1302 -0.066)
OKLCHoklch(67.26% 0.146 333.1)
XYZxyz(39.3391, 27.9999, 50.8996)
Luminance0.2800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71BC #71CA7F
analogous
#AC71CA #CA71BC #CA7190
triadic
#CA71BC #BCCA71 #71BCCA
tetradic
#CA71BC #CAAC71 #71CA7F #7190CA
square
#CA71BC #CAAC71 #71CA7F #7190CA
split-complementary
#CA71BC #90CA71 #71CAAC
monochromatic
#8C347E #B945A7 #CA71BC #DB9ED1 #EBCAE6

Accessibility & contrast

On white

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

On black

6.60
#CA71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71BC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71BC#FFFFFF#000000##000000
##CA71BC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BF
Deuteranopia (green-blind)
#8895B9
Tritanopia (blue-blind)
#D1768E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca71bc;
/* rgb */ color: rgb(202, 113, 188);
/* oklch */ color: oklch(67.3% 0.146 333.1);
Tailwind
colors: {
  custom: {
    50: '#dc9cd0',
    500: '#ca71bc',
    950: '#000000',
  },
}
SCSS
$custom: #ca71bc;
$custom-light: #dc9cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71bc",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 309.438,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67263,
    "c": 0.14595,
    "h": 333.1
  },
  "luminance": 0.27998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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