#CF71CC#CF71CC

#CF71CC is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.6% C 0.164 H 328.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#CF71CC
RGBrgb(207, 113, 204)
HSLhsl(302, 49%, 63%)
HSVhsv(302, 45%, 81%)
CMYKcmyk(0%, 45.4%, 1.4%, 18.8%)
CIE-LABlab(61.17, 49.84, -31.43)
CIE-LCHlch(61.17, 58.92, 327.76°)
OKLaboklab(68.56% 0.1393 -0.0859)
OKLCHoklch(68.56% 0.164 328.3)
XYZxyz(42.5357, 29.4375, 60.5566)
Luminance0.2944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71CC #71CF74
analogous
#A371CF #CF71CC #CF719D
triadic
#CF71CC #CCCF71 #71CCCF
tetradic
#CF71CC #CFA371 #71CF74 #719DCF
square
#CF71CC #CFA371 #71CF74 #719DCF
split-complementary
#CF71CC #9DCF71 #71CFA3
monochromatic
#943291 #C043BC #CF71CC #DE9FDC #EECCED

Accessibility & contrast

On white

3.05
#CF71CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#CF71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71CC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71CC#FFFFFF#000000##000000
##CF71CC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CCF
Deuteranopia (green-blind)
#8598C9
Tritanopia (blue-blind)
#D57A95
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf71cc;
/* rgb */ color: rgb(207, 113, 204);
/* oklch */ color: oklch(68.6% 0.164 328.3);
Tailwind
colors: {
  custom: {
    50: '#df9ddc',
    500: '#cf71cc',
    950: '#000000',
  },
}
SCSS
$custom: #cf71cc;
$custom-light: #df9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71cc",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 301.915,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68563,
    "c": 0.16363,
    "h": 328.3
  },
  "luminance": 0.29435
}

Semantic roles & 50–950 ramp

primary
#CF71CC
secondary
#BDDFBE
accent
#BD2D29
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CF71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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