#CA71BF#CA71BF

#CA71BF is a light, vivid purple. Relative luminance 0.281; OKLCH L 67.4% C 0.149 H 331.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#CA71BF
RGBrgb(202, 113, 191)
HSLhsl(307, 46%, 62%)
HSVhsv(307, 44%, 79%)
CMYKcmyk(0%, 44.1%, 5.4%, 20.8%)
CIE-LABlab(60.01, 46.03, -25.90)
CIE-LCHlch(60.01, 52.82, 330.63°)
OKLaboklab(67.39% 0.1309 -0.0703)
OKLCHoklch(67.39% 0.149 331.8)
XYZxyz(39.6659, 28.1306, 52.6206)
Luminance0.2813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71BF #71CA7C
analogous
#A971CA #CA71BF #CA7193
triadic
#CA71BF #BFCA71 #71BFCA
tetradic
#CA71BF #CAA971 #71CA7C #7193CA
square
#CA71BF #CAA971 #71CA7C #7193CA
split-complementary
#CA71BF #93CA71 #71CAA9
monochromatic
#8C3481 #B945AB #CA71BF #DB9ED3 #EBCAE7

Accessibility & contrast

On white

3.17
#CA71BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#CA71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71BF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71BF#FFFFFF#000000##000000
##CA71BF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E89C2
Deuteranopia (green-blind)
#8695BC
Tritanopia (blue-blind)
#D1778F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ca71bf;
/* rgb */ color: rgb(202, 113, 191);
/* oklch */ color: oklch(67.4% 0.149 331.8);
Tailwind
colors: {
  custom: {
    50: '#dc9cd2',
    500: '#ca71bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca71bf;
$custom-light: #dc9cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71bf",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 307.416,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6739,
    "c": 0.14856,
    "h": 331.8
  },
  "luminance": 0.28128
}

Semantic roles & 50–950 ramp

primary
#CA71BF
secondary
#BBDCBF
accent
#B93E2D
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E14
muted
#837E82

Preview Lab

Preview with #CA71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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