#CA71CC#CA71CC

#CA71CC is a light, vivid purple. Relative luminance 0.287; OKLCH L 68.0% C 0.160 H 326.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#CA71CC
RGBrgb(202, 113, 204)
HSLhsl(299, 47%, 62%)
HSVhsv(299, 45%, 80%)
CMYKcmyk(1%, 44.6%, 0%, 20%)
CIE-LABlab(60.54, 48.36, -32.45)
CIE-LCHlch(60.54, 58.24, 326.14°)
OKLaboklab(67.97% 0.1336 -0.0889)
OKLCHoklch(67.97% 0.16 326.4)
XYZxyz(41.1605, 28.7285, 60.4921)
Luminance0.2873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71CC #73CC71
analogous
#9C71CC #CA71CC #CC71A1
triadic
#CA71CC #CCCA71 #71CCCA
tetradic
#CA71CC #CC9C71 #73CC71 #71A1CC
square
#CA71CC #CC9C71 #73CC71 #71A1CC
split-complementary
#CA71CC #A1CC71 #71CC9C
monochromatic
#8D338F #B944BC #CA71CC #DB9EDC #ECCBEC

Accessibility & contrast

On white

3.11
#CA71CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#CA71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71CC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71CC#FFFFFF#000000##000000
##CA71CC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#8296C9
Tritanopia (blue-blind)
#CF7B95
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca71cc;
/* rgb */ color: rgb(202, 113, 204);
/* oklch */ color: oklch(68.0% 0.160 326.4);
Tailwind
colors: {
  custom: {
    50: '#dc9cdc',
    500: '#ca71cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca71cc;
$custom-light: #dc9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71cc",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 298.681,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67965,
    "c": 0.16044,
    "h": 326.4
  },
  "luminance": 0.28726
}

Semantic roles & 50–950 ramp

primary
#CA71CC
secondary
#BCDDBC
accent
#BA2B2E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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