#CF71D5#CF71D5

#CF71D5 is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.0% C 0.172 H 325.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CF71D5
RGBrgb(207, 113, 213)
HSLhsl(296, 54%, 64%)
HSVhsv(296, 47%, 84%)
CMYKcmyk(2.8%, 46.9%, 0%, 16.5%)
CIE-LABlab(61.55, 51.47, -35.90)
CIE-LCHlch(61.55, 62.76, 325.11°)
OKLaboklab(68.98% 0.1409 -0.0986)
OKLCHoklch(68.98% 0.172 325)
XYZxyz(43.6465, 29.8818, 66.4066)
Luminance0.2988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71D5 #77D571
analogous
#9D71D5 #CF71D5 #D571A9
triadic
#CF71D5 #D5CF71 #71D5CF
tetradic
#CF71D5 #D59D71 #77D571 #71A9D5
square
#CF71D5 #D59D71 #77D571 #71A9D5
split-complementary
#CF71D5 #A9D571 #71D59D
monochromatic
#962E9D #BF42C7 #CF71D5 #DFA0E3 #EFCFF1

Accessibility & contrast

On white

3.01
#CF71D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CF71D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71D5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71D5#FFFFFF#000000##000000
##CF71D51.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#668DD8
Deuteranopia (green-blind)
#8199D2
Tritanopia (blue-blind)
#D37C99
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf71d5;
/* rgb */ color: rgb(207, 113, 213);
/* oklch */ color: oklch(69.0% 0.172 325.0);
Tailwind
colors: {
  custom: {
    50: '#e09de2',
    500: '#cf71d5',
    950: '#000000',
  },
}
SCSS
$custom: #cf71d5;
$custom-light: #e09de2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71d5",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 296.4,
    "s": 54.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68976,
    "c": 0.172,
    "h": 325
  },
  "luminance": 0.2988
}

Semantic roles & 50–950 ramp

primary
#CF71D5
secondary
#C1E2BF
accent
#C2242D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CF71D5

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

Preview Lab → · Contrast checker → · Palette generator →

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