#CF71C2#CF71C2

#CF71C2 is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.1% C 0.155 H 332.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#CF71C2
RGBrgb(207, 113, 194)
HSLhsl(308, 49%, 63%)
HSVhsv(308, 45%, 81%)
CMYKcmyk(0%, 45.4%, 6.3%, 18.8%)
CIE-LABlab(60.76, 48.09, -26.40)
CIE-LCHlch(60.76, 54.86, 331.23°)
OKLaboklab(68.13% 0.1372 -0.0716)
OKLCHoklch(68.13% 0.155 332.4)
XYZxyz(41.3746, 28.9731, 54.4416)
Luminance0.2897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71C2 #71CF7E
analogous
#AD71CF #CF71C2 #CF7193
triadic
#CF71C2 #C2CF71 #71C2CF
tetradic
#CF71C2 #CFAD71 #71CF7E #7193CF
square
#CF71C2 #CFAD71 #71CF7E #7193CF
split-complementary
#CF71C2 #93CF71 #71CFAD
monochromatic
#943286 #C043AE #CF71C2 #DE9FD6 #EECCE9

Accessibility & contrast

On white

3.09
#CF71C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#CF71C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71C2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71C2#FFFFFF#000000##000000
##CF71C21.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8AC5
Deuteranopia (green-blind)
#8997BF
Tritanopia (blue-blind)
#D67791
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf71c2;
/* rgb */ color: rgb(207, 113, 194);
/* oklch */ color: oklch(68.1% 0.155 332.4);
Tailwind
colors: {
  custom: {
    50: '#df9cd4',
    500: '#cf71c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf71c2;
$custom-light: #df9cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71c2",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 308.298,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68125,
    "c": 0.15478,
    "h": 332.4
  },
  "luminance": 0.28971
}

Semantic roles & 50–950 ramp

primary
#CF71C2
secondary
#BDDFC2
accent
#BD3D29
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CF71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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