#CA71C8#CA71C8

#CA71C8 is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.8% C 0.157 H 327.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#CA71C8
RGBrgb(202, 113, 200)
HSLhsl(301, 46%, 62%)
HSVhsv(301, 44%, 79%)
CMYKcmyk(0%, 44.1%, 1%, 20.8%)
CIE-LABlab(60.37, 47.63, -30.45)
CIE-LCHlch(60.37, 56.53, 327.41°)
OKLaboklab(67.78% 0.1328 -0.0832)
OKLCHoklch(67.78% 0.157 327.9)
XYZxyz(40.6869, 28.5390, 57.9978)
Luminance0.2854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71C8 #71CA73
analogous
#A071CA #CA71C8 #CA719C
triadic
#CA71C8 #C8CA71 #71C8CA
tetradic
#CA71C8 #CAA071 #71CA73 #719CCA
square
#CA71C8 #CAA071 #71CA73 #719CCA
split-complementary
#CA71C8 #9CCA71 #71CAA0
monochromatic
#8C348A #B945B6 #CA71C8 #DB9ED9 #EBCAEB

Accessibility & contrast

On white

3.13
#CA71C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#CA71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71C8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71C8#FFFFFF#000000##000000
##CA71C81.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#8396C5
Tritanopia (blue-blind)
#CF7993
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca71c8;
/* rgb */ color: rgb(202, 113, 200);
/* oklch */ color: oklch(67.8% 0.157 327.9);
Tailwind
colors: {
  custom: {
    50: '#dc9cd9',
    500: '#ca71c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca71c8;
$custom-light: #dc9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71c8",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 301.348,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67784,
    "c": 0.1567,
    "h": 327.9
  },
  "luminance": 0.28537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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