#CF71D6#CF71D6

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

Color values

HEX#CF71D6
RGBrgb(207, 113, 214)
HSLhsl(296, 55%, 64%)
HSVhsv(296, 47%, 84%)
CMYKcmyk(3.3%, 47.2%, 0%, 16.1%)
CIE-LABlab(61.60, 51.66, -36.39)
CIE-LCHlch(61.60, 63.19, 324.84°)
OKLaboklab(69.02% 0.1411 -0.1001)
OKLCHoklch(69.02% 0.173 324.7)
XYZxyz(43.7738, 29.9328, 67.0772)
Luminance0.2993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71D6 #78D671
analogous
#9D71D6 #CF71D6 #D671AB
triadic
#CF71D6 #D6CF71 #71D6CF
tetradic
#CF71D6 #D69D71 #78D671 #71ABD6
square
#CF71D6 #D69D71 #78D671 #71ABD6
split-complementary
#CF71D6 #ABD671 #71D69D
monochromatic
#972E9F #BF42C8 #CF71D6 #DFA0E4 #EFD0F1

Accessibility & contrast

On white

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

On black

6.99
#CF71D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71D6
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71D6#FFFFFF#000000##000000
##CF71D61.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#658DD9
Deuteranopia (green-blind)
#8199D3
Tritanopia (blue-blind)
#D37D9A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf71d6;
/* rgb */ color: rgb(207, 113, 214);
/* oklch */ color: oklch(69.0% 0.173 324.7);
Tailwind
colors: {
  custom: {
    50: '#e09de3',
    500: '#cf71d6',
    950: '#000000',
  },
}
SCSS
$custom: #cf71d6;
$custom-light: #e09de3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71d6",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 214
  },
  "hsl": {
    "h": 295.842,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69024,
    "c": 0.17294,
    "h": 324.7
  },
  "luminance": 0.29931
}

Semantic roles & 50–950 ramp

primary
#CF71D6
secondary
#C2E3C0
accent
#C3232E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CF71D6

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

Preview Lab → · Contrast checker → · Palette generator →

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