#CF71C7#CF71C7

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

Color values

HEX#CF71C7
RGBrgb(207, 113, 199)
HSLhsl(305, 49%, 63%)
HSVhsv(305, 45%, 81%)
CMYKcmyk(0%, 45.4%, 3.9%, 18.8%)
CIE-LABlab(60.96, 48.95, -28.92)
CIE-LCHlch(60.96, 56.86, 329.42°)
OKLaboklab(68.34% 0.1383 -0.0787)
OKLCHoklch(68.34% 0.159 330.3)
XYZxyz(41.9456, 29.2015, 57.4488)
Luminance0.2920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71C7 #71CF79
analogous
#A871CF #CF71C7 #CF7198
triadic
#CF71C7 #C7CF71 #71C7CF
tetradic
#CF71C7 #CFA871 #71CF79 #7198CF
square
#CF71C7 #CFA871 #71CF79 #7198CF
split-complementary
#CF71C7 #98CF71 #71CFA8
monochromatic
#94328B #C043B5 #CF71C7 #DE9FD9 #EECCEB

Accessibility & contrast

On white

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

On black

6.84
#CF71C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71C7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71C7#FFFFFF#000000##000000
##CF71C71.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8BCA
Deuteranopia (green-blind)
#8798C4
Tritanopia (blue-blind)
#D57893
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf71c7;
/* rgb */ color: rgb(207, 113, 199);
/* oklch */ color: oklch(68.3% 0.159 330.3);
Tailwind
colors: {
  custom: {
    50: '#df9dd8',
    500: '#cf71c7',
    950: '#000000',
  },
}
SCSS
$custom: #cf71c7;
$custom-light: #df9dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71c7",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 305.106,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68341,
    "c": 0.15914,
    "h": 330.3
  },
  "luminance": 0.29199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF71C7

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

Preview Lab → · Contrast checker → · Palette generator →

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