#CF71D7#CF71D7

#CF71D7 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.174 H 324.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CF71D7
RGBrgb(207, 113, 215)
HSLhsl(295, 56%, 64%)
HSVhsv(295, 47%, 84%)
CMYKcmyk(3.7%, 47.4%, 0%, 15.7%)
CIE-LABlab(61.64, 51.84, -36.88)
CIE-LCHlch(61.64, 63.63, 324.57°)
OKLaboklab(69.07% 0.1412 -0.1015)
OKLCHoklch(69.07% 0.174 324.3)
XYZxyz(43.9019, 29.9840, 67.7518)
Luminance0.2998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71D7 #79D771
analogous
#9C71D7 #CF71D7 #D771AC
triadic
#CF71D7 #D7CF71 #71D7CF
tetradic
#CF71D7 #D79C71 #79D771 #71ACD7
square
#CF71D7 #D79C71 #79D771 #71ACD7
split-complementary
#CF71D7 #ACD771 #71D79C
monochromatic
#972DA0 #BF41CA #CF71D7 #DFA1E4 #EFD0F2

Accessibility & contrast

On white

3.00
#CF71D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CF71D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71D7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71D7#FFFFFF#000000##000000
##CF71D71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#658EDA
Deuteranopia (green-blind)
#8099D4
Tritanopia (blue-blind)
#D37D9A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf71d7;
/* rgb */ color: rgb(207, 113, 215);
/* oklch */ color: oklch(69.1% 0.174 324.3);
Tailwind
colors: {
  custom: {
    50: '#e09de3',
    500: '#cf71d7',
    950: '#000000',
  },
}
SCSS
$custom: #cf71d7;
$custom-light: #e09de3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71d7",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 295.294,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69071,
    "c": 0.17389,
    "h": 324.3
  },
  "luminance": 0.29982
}

Semantic roles & 50–950 ramp

primary
#CF71D7
secondary
#C3E4C0
accent
#C4222F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CF71D7

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

Preview Lab → · Contrast checker → · Palette generator →

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