#CF71D3#CF71D3

#CF71D3 is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.9% C 0.170 H 325.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CF71D3
RGBrgb(207, 113, 211)
HSLhsl(298, 53%, 64%)
HSVhsv(298, 46%, 83%)
CMYKcmyk(1.9%, 46.4%, 0%, 17.3%)
CIE-LABlab(61.46, 51.11, -34.91)
CIE-LCHlch(61.46, 61.89, 325.66°)
OKLaboklab(68.88% 0.1406 -0.0958)
OKLCHoklch(68.88% 0.17 325.7)
XYZxyz(43.3942, 29.7809, 65.0779)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71D3 #75D371
analogous
#9E71D3 #CF71D3 #D371A6
triadic
#CF71D3 #D3CF71 #71D3CF
tetradic
#CF71D3 #D39E71 #75D371 #71A6D3
square
#CF71D3 #D39E71 #75D371 #71A6D3
split-complementary
#CF71D3 #A6D371 #71D39E
monochromatic
#96309A #BF42C5 #CF71D3 #DFA0E1 #EFCEF0

Accessibility & contrast

On white

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

On black

6.96
#CF71D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71D3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71D3#FFFFFF#000000##000000
##CF71D31.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#678DD6
Deuteranopia (green-blind)
#8299D0
Tritanopia (blue-blind)
#D37C98
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf71d3;
/* rgb */ color: rgb(207, 113, 211);
/* oklch */ color: oklch(68.9% 0.170 325.7);
Tailwind
colors: {
  custom: {
    50: '#e09de1',
    500: '#cf71d3',
    950: '#000000',
  },
}
SCSS
$custom: #cf71d3;
$custom-light: #e09de1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71d3",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 297.551,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.17011,
    "h": 325.7
  },
  "luminance": 0.29779
}

Semantic roles & 50–950 ramp

primary
#CF71D3
secondary
#C0E1BF
accent
#C0252C
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CF71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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