#CF71D4#CF71D4

#CF71D4 is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.9% C 0.171 H 325.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CF71D4
RGBrgb(207, 113, 212)
HSLhsl(297, 54%, 64%)
HSVhsv(297, 47%, 83%)
CMYKcmyk(2.4%, 46.7%, 0%, 16.9%)
CIE-LABlab(61.51, 51.29, -35.40)
CIE-LCHlch(61.51, 62.32, 325.38°)
OKLaboklab(68.93% 0.1407 -0.0972)
OKLCHoklch(68.93% 0.171 325.4)
XYZxyz(43.5199, 29.8312, 65.7402)
Luminance0.2983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71D4 #76D471
analogous
#9D71D4 #CF71D4 #D471A7
triadic
#CF71D4 #D4CF71 #71D4CF
tetradic
#CF71D4 #D49D71 #76D471 #71A7D4
square
#CF71D4 #D49D71 #76D471 #71A7D4
split-complementary
#CF71D4 #A7D471 #71D49D
monochromatic
#962F9C #BF42C6 #CF71D4 #DFA0E2 #EFCFF0

Accessibility & contrast

On white

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

On black

6.97
#CF71D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71D4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71D4#FFFFFF#000000##000000
##CF71D41.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#668DD7
Deuteranopia (green-blind)
#8199D1
Tritanopia (blue-blind)
#D37C99
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf71d4;
/* rgb */ color: rgb(207, 113, 212);
/* oklch */ color: oklch(68.9% 0.171 325.4);
Tailwind
colors: {
  custom: {
    50: '#e09de1',
    500: '#cf71d4',
    950: '#000000',
  },
}
SCSS
$custom: #cf71d4;
$custom-light: #e09de1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71d4",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 296.97,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6893,
    "c": 0.17105,
    "h": 325.4
  },
  "luminance": 0.29829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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