#CA71CF#CA71CF

#CA71CF is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.1% C 0.163 H 325.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#CA71CF
RGBrgb(202, 113, 207)
HSLhsl(297, 49%, 63%)
HSVhsv(297, 45%, 81%)
CMYKcmyk(2.4%, 45.4%, 0%, 18.8%)
CIE-LABlab(60.67, 48.92, -33.94)
CIE-LCHlch(60.67, 59.54, 325.25°)
OKLaboklab(68.1% 0.1341 -0.0931)
OKLCHoklch(68.1% 0.163 325.2)
XYZxyz(41.5238, 28.8738, 62.4054)
Luminance0.2887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71CF #76CF71
analogous
#9B71CF #CA71CF #CF71A5
triadic
#CA71CF #CFCA71 #71CFCA
tetradic
#CA71CF #CF9B71 #76CF71 #71A5CF
square
#CA71CF #CF9B71 #76CF71 #71A5CF
split-complementary
#CA71CF #A5CF71 #71CF9B
monochromatic
#8E3294 #B943C0 #CA71CF #DB9FDE #ECCCEE

Accessibility & contrast

On white

3.10
#CA71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#CA71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71CF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71CF#FFFFFF#000000##000000
##CA71CF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#8096CC
Tritanopia (blue-blind)
#CE7B96
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca71cf;
/* rgb */ color: rgb(202, 113, 207);
/* oklch */ color: oklch(68.1% 0.163 325.2);
Tailwind
colors: {
  custom: {
    50: '#dc9cde',
    500: '#ca71cf',
    950: '#000000',
  },
}
SCSS
$custom: #ca71cf;
$custom-light: #dc9cde;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71cf",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 296.809,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68103,
    "c": 0.1633,
    "h": 325.2
  },
  "luminance": 0.28872
}

Semantic roles & 50–950 ramp

primary
#CA71CF
secondary
#BFDFBD
accent
#BD2931
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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