#CF71D1#CF71D1

#CF71D1 is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.8% C 0.168 H 326.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CF71D1
RGBrgb(207, 113, 209)
HSLhsl(299, 51%, 63%)
HSVhsv(299, 46%, 82%)
CMYKcmyk(1%, 45.9%, 0%, 18%)
CIE-LABlab(61.38, 50.74, -33.92)
CIE-LCHlch(61.38, 61.03, 326.24°)
OKLaboklab(68.79% 0.1402 -0.093)
OKLCHoklch(68.79% 0.168 326.5)
XYZxyz(43.1450, 29.6813, 63.7657)
Luminance0.2968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71D1 #73D171
analogous
#9F71D1 #CF71D1 #D171A3
triadic
#CF71D1 #D1CF71 #71D1CF
tetradic
#CF71D1 #D19F71 #73D171 #71A3D1
square
#CF71D1 #D19F71 #73D171 #71A3D1
split-complementary
#CF71D1 #A3D171 #71D19F
monochromatic
#953197 #BF43C2 #CF71D1 #DF9FE0 #EECDEF

Accessibility & contrast

On white

3.03
#CF71D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CF71D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71D1
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71D1#FFFFFF#000000##000000
##CF71D11.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#688DD4
Deuteranopia (green-blind)
#8398CE
Tritanopia (blue-blind)
#D47B97
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf71d1;
/* rgb */ color: rgb(207, 113, 209);
/* oklch */ color: oklch(68.8% 0.168 326.5);
Tailwind
colors: {
  custom: {
    50: '#e09ddf',
    500: '#cf71d1',
    950: '#000000',
  },
}
SCSS
$custom: #cf71d1;
$custom-light: #e09ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71d1",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 298.75,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6879,
    "c": 0.16825,
    "h": 326.5
  },
  "luminance": 0.29679
}

Semantic roles & 50–950 ramp

primary
#CF71D1
secondary
#BEE0BE
accent
#BE272A
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CF71D1

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

Preview Lab → · Contrast checker → · Palette generator →

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