#CF71C6#CF71C6

#CF71C6 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.3% C 0.158 H 330.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#CF71C6
RGBrgb(207, 113, 198)
HSLhsl(306, 49%, 63%)
HSVhsv(306, 45%, 81%)
CMYKcmyk(0%, 45.4%, 4.3%, 18.8%)
CIE-LABlab(60.92, 48.78, -28.42)
CIE-LCHlch(60.92, 56.45, 329.77°)
OKLaboklab(68.3% 0.1381 -0.0773)
OKLCHoklch(68.3% 0.158 330.8)
XYZxyz(41.8299, 29.1552, 56.8394)
Luminance0.2915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71C6 #71CF7A
analogous
#A971CF #CF71C6 #CF7197
triadic
#CF71C6 #C6CF71 #71C6CF
tetradic
#CF71C6 #CFA971 #71CF7A #7197CF
square
#CF71C6 #CFA971 #71CF7A #7197CF
split-complementary
#CF71C6 #97CF71 #71CFA9
monochromatic
#94328A #C043B4 #CF71C6 #DE9FD8 #EECCEB

Accessibility & contrast

On white

3.07
#CF71C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#CF71C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71C6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71C6#FFFFFF#000000##000000
##CF71C61.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8BC9
Deuteranopia (green-blind)
#8798C3
Tritanopia (blue-blind)
#D67892
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf71c6;
/* rgb */ color: rgb(207, 113, 198);
/* oklch */ color: oklch(68.3% 0.158 330.8);
Tailwind
colors: {
  custom: {
    50: '#df9dd7',
    500: '#cf71c6',
    950: '#000000',
  },
}
SCSS
$custom: #cf71c6;
$custom-light: #df9dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71c6",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 198
  },
  "hsl": {
    "h": 305.745,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68297,
    "c": 0.15826,
    "h": 330.8
  },
  "luminance": 0.29153
}

Semantic roles & 50–950 ramp

primary
#CF71C6
secondary
#BDDFC0
accent
#BD3729
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CF71C6

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

Preview Lab → · Contrast checker → · Palette generator →

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