#CF71DF#CF71DF

#CF71DF is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.182 H 321.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CF71DF
RGBrgb(207, 113, 223)
HSLhsl(291, 63%, 66%)
HSVhsv(291, 49%, 87%)
CMYKcmyk(7.2%, 49.3%, 0%, 12.5%)
CIE-LABlab(62.00, 53.35, -40.80)
CIE-LCHlch(62.00, 67.16, 322.60°)
OKLaboklab(69.46% 0.1424 -0.1127)
OKLCHoklch(69.46% 0.182 321.6)
XYZxyz(44.9550, 30.4053, 73.2985)
Luminance0.3040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71DF #81DF71
analogous
#9871DF #CF71DF #DF71B8
triadic
#CF71DF #DFCF71 #71DFCF
tetradic
#CF71DF #DF9871 #81DF71 #71B8DF
square
#CF71DF #DF9871 #81DF71 #71B8DF
split-complementary
#CF71DF #B8DF71 #71DF98
monochromatic
#9B27AE #BE3FD4 #CF71DF #E0A3EA #F1D5F6

Accessibility & contrast

On white

2.97
#CF71DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CF71DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71DF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71DF#FFFFFF#000000##000000
##CF71DF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#608FE3
Deuteranopia (green-blind)
#7C99DC
Tritanopia (blue-blind)
#D17F9E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cf71df;
/* rgb */ color: rgb(207, 113, 223);
/* oklch */ color: oklch(69.5% 0.182 321.6);
Tailwind
colors: {
  custom: {
    50: '#e09de9',
    500: '#cf71df',
    950: '#000000',
  },
}
SCSS
$custom: #cf71df;
$custom-light: #e09de9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71df",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 291.273,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69457,
    "c": 0.18163,
    "h": 321.6
  },
  "luminance": 0.30403
}

Semantic roles & 50–950 ramp

primary
#CF71DF
secondary
#C9E8C4
accent
#CB1B34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E16
muted
#847E84

Preview Lab

Preview with #CF71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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