#CF71D9#CF71D9

#CF71D9 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.2% C 0.176 H 323.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CF71D9
RGBrgb(207, 113, 217)
HSLhsl(294, 58%, 65%)
HSVhsv(294, 48%, 85%)
CMYKcmyk(4.6%, 47.9%, 0%, 14.9%)
CIE-LABlab(61.73, 52.22, -37.87)
CIE-LCHlch(61.73, 64.50, 324.05°)
OKLaboklab(69.17% 0.1415 -0.1043)
OKLCHoklch(69.17% 0.176 323.6)
XYZxyz(44.1604, 30.0874, 69.1135)
Luminance0.3009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71D9 #7BD971
analogous
#9B71D9 #CF71D9 #D971AF
triadic
#CF71D9 #D9CF71 #71D9CF
tetradic
#CF71D9 #D99B71 #7BD971 #71AFD9
square
#CF71D9 #D99B71 #7BD971 #71AFD9
split-complementary
#CF71D9 #AFD971 #71D99B
monochromatic
#982CA4 #BF41CC #CF71D9 #DFA1E6 #F0D2F3

Accessibility & contrast

On white

2.99
#CF71D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CF71D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71D9
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71D9#FFFFFF#000000##000000
##CF71D91.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#648EDD
Deuteranopia (green-blind)
#7F99D6
Tritanopia (blue-blind)
#D27E9B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf71d9;
/* rgb */ color: rgb(207, 113, 217);
/* oklch */ color: oklch(69.2% 0.176 323.6);
Tailwind
colors: {
  custom: {
    50: '#e09de5',
    500: '#cf71d9',
    950: '#000000',
  },
}
SCSS
$custom: #cf71d9;
$custom-light: #e09de5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71d9",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 294.231,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69166,
    "c": 0.17582,
    "h": 323.6
  },
  "luminance": 0.30085
}

Semantic roles & 50–950 ramp

primary
#CF71D9
secondary
#C4E5C1
accent
#C52030
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CF71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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