#CF71F4#CF71F4

#CF71F4 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.5% C 0.203 H 315.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CF71F4
RGBrgb(207, 113, 244)
HSLhsl(283, 86%, 70%)
HSVhsv(283, 54%, 96%)
CMYKcmyk(15.2%, 53.7%, 0%, 4.3%)
CIE-LABlab(63.02, 57.48, -50.86)
CIE-LCHlch(63.02, 76.75, 318.49°)
OKLaboklab(70.54% 0.1446 -0.1419)
OKLCHoklch(70.54% 0.203 315.5)
XYZxyz(47.9639, 31.6088, 89.1449)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71F4 #96F471
analogous
#8D71F4 #CF71F4 #F471D8
triadic
#CF71F4 #F4CF71 #71F4CF
tetradic
#CF71F4 #F48D71 #96F471 #71D8F4
square
#CF71F4 #F48D71 #96F471 #71D8F4
split-complementary
#CF71F4 #D8F471 #71F48D
monochromatic
#A111DA #BC38F0 #CF71F4 #E2AAF8 #F5E3FD

Accessibility & contrast

On white

2.87
#CF71F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CF71F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71F4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71F4#FFFFFF#000000##000000
##CF71F41.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F8
Deuteranopia (green-blind)
#719BF1
Tritanopia (blue-blind)
#CD86A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf71f4;
/* rgb */ color: rgb(207, 113, 244);
/* oklch */ color: oklch(70.5% 0.203 315.5);
Tailwind
colors: {
  custom: {
    50: '#e09df8',
    500: '#cf71f4',
    950: '#000000',
  },
}
SCSS
$custom: #cf71f4;
$custom-light: #e09df8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71f4",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 283.053,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.70537,
    "c": 0.20259,
    "h": 315.5
  },
  "luminance": 0.31607
}

Semantic roles & 50–950 ramp

primary
#CF71F4
secondary
#D8F3CE
accent
#E20342
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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