#CF71D2#CF71D2

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

Color values

HEX#CF71D2
RGBrgb(207, 113, 210)
HSLhsl(298, 52%, 63%)
HSVhsv(298, 46%, 82%)
CMYKcmyk(1.4%, 46.2%, 0%, 17.6%)
CIE-LABlab(61.42, 50.92, -34.41)
CIE-LCHlch(61.42, 61.46, 325.95°)
OKLaboklab(68.84% 0.1404 -0.0944)
OKLCHoklch(68.84% 0.169 326.1)
XYZxyz(43.2692, 29.7309, 64.4198)
Luminance0.2973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71D2 #74D271
analogous
#9E71D2 #CF71D2 #D271A4
triadic
#CF71D2 #D2CF71 #71D2CF
tetradic
#CF71D2 #D29E71 #74D271 #71A4D2
square
#CF71D2 #D29E71 #74D271 #71A4D2
split-complementary
#CF71D2 #A4D271 #71D29E
monochromatic
#953098 #BF43C3 #CF71D2 #DF9FE1 #EECEEF

Accessibility & contrast

On white

3.02
#CF71D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CF71D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71D2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71D2#FFFFFF#000000##000000
##CF71D21.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#678DD5
Deuteranopia (green-blind)
#8299CF
Tritanopia (blue-blind)
#D47C98
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf71d2;
/* rgb */ color: rgb(207, 113, 210);
/* oklch */ color: oklch(68.8% 0.169 326.1);
Tailwind
colors: {
  custom: {
    50: '#e09de0',
    500: '#cf71d2',
    950: '#000000',
  },
}
SCSS
$custom: #cf71d2;
$custom-light: #e09de0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71d2",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 298.144,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68837,
    "c": 0.16918,
    "h": 326.1
  },
  "luminance": 0.29729
}

Semantic roles & 50–950 ramp

primary
#CF71D2
secondary
#BFE1BE
accent
#BF262B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CF71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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