#CA71C7#CA71C7

#CA71C7 is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.7% C 0.156 H 328.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#CA71C7
RGBrgb(202, 113, 199)
HSLhsl(302, 46%, 62%)
HSVhsv(302, 44%, 79%)
CMYKcmyk(0%, 44.1%, 1.5%, 20.8%)
CIE-LABlab(60.33, 47.45, -29.95)
CIE-LCHlch(60.33, 56.11, 327.75°)
OKLaboklab(67.74% 0.1326 -0.0817)
OKLCHoklch(67.74% 0.156 328.4)
XYZxyz(40.5704, 28.4924, 57.3844)
Luminance0.2849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71C7 #71CA74
analogous
#A171CA #CA71C7 #CA719B
triadic
#CA71C7 #C7CA71 #71C7CA
tetradic
#CA71C7 #CAA171 #71CA74 #719BCA
square
#CA71C7 #CAA171 #71CA74 #719BCA
split-complementary
#CA71C7 #9BCA71 #71CAA1
monochromatic
#8C3489 #B945B5 #CA71C7 #DB9ED9 #EBCAEA

Accessibility & contrast

On white

3.14
#CA71C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#CA71C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71C7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71C7#FFFFFF#000000##000000
##CA71C71.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ACA
Deuteranopia (green-blind)
#8496C4
Tritanopia (blue-blind)
#CF7993
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ca71c7;
/* rgb */ color: rgb(202, 113, 199);
/* oklch */ color: oklch(67.7% 0.156 328.4);
Tailwind
colors: {
  custom: {
    50: '#dc9cd8',
    500: '#ca71c7',
    950: '#000000',
  },
}
SCSS
$custom: #ca71c7;
$custom-light: #dc9cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71c7",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 302.022,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67739,
    "c": 0.15578,
    "h": 328.4
  },
  "luminance": 0.2849
}

Semantic roles & 50–950 ramp

primary
#CA71C7
secondary
#BBDCBC
accent
#B9312D
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CA71C7

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

Preview Lab → · Contrast checker → · Palette generator →

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