#CF71C4#CF71C4

#CF71C4 is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.2% C 0.157 H 331.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#CF71C4
RGBrgb(207, 113, 196)
HSLhsl(307, 49%, 63%)
HSVhsv(307, 45%, 81%)
CMYKcmyk(0%, 45.4%, 5.3%, 18.8%)
CIE-LABlab(60.84, 48.43, -27.41)
CIE-LCHlch(60.84, 55.65, 330.49°)
OKLaboklab(68.21% 0.1377 -0.0745)
OKLCHoklch(68.21% 0.157 331.6)
XYZxyz(41.6007, 29.0636, 55.6325)
Luminance0.2906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71C4 #71CF7C
analogous
#AB71CF #CF71C4 #CF7195
triadic
#CF71C4 #C4CF71 #71C4CF
tetradic
#CF71C4 #CFAB71 #71CF7C #7195CF
square
#CF71C4 #CFAB71 #71CF7C #7195CF
split-complementary
#CF71C4 #95CF71 #71CFAB
monochromatic
#943288 #C043B1 #CF71C4 #DE9FD7 #EECCEA

Accessibility & contrast

On white

3.08
#CF71C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#CF71C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71C4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71C4#FFFFFF#000000##000000
##CF71C41.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8AC7
Deuteranopia (green-blind)
#8898C1
Tritanopia (blue-blind)
#D67891
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf71c4;
/* rgb */ color: rgb(207, 113, 196);
/* oklch */ color: oklch(68.2% 0.157 331.6);
Tailwind
colors: {
  custom: {
    50: '#df9cd6',
    500: '#cf71c4',
    950: '#000000',
  },
}
SCSS
$custom: #cf71c4;
$custom-light: #df9cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71c4",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 307.021,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6821,
    "c": 0.15651,
    "h": 331.6
  },
  "luminance": 0.29061
}

Semantic roles & 50–950 ramp

primary
#CF71C4
secondary
#BDDFC1
accent
#BD3A29
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CF71C4

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

Preview Lab → · Contrast checker → · Palette generator →

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