#CF71F3#CF71F3

#CF71F3 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.5% C 0.202 H 315.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CF71F3
RGBrgb(207, 113, 243)
HSLhsl(283, 84%, 70%)
HSVhsv(283, 53%, 95%)
CMYKcmyk(14.8%, 53.5%, 0%, 4.7%)
CIE-LABlab(62.97, 57.27, -50.39)
CIE-LCHlch(62.97, 76.29, 318.66°)
OKLaboklab(70.48% 0.1445 -0.1405)
OKLCHoklch(70.48% 0.202 315.8)
XYZxyz(47.8124, 31.5482, 88.3474)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71F3 #95F371
analogous
#8E71F3 #CF71F3 #F371D6
triadic
#CF71F3 #F3CF71 #71F3CF
tetradic
#CF71F3 #F38E71 #95F371 #71D6F3
square
#CF71F3 #F38E71 #95F371 #71D6F3
split-complementary
#CF71F3 #D6F371 #71F38E
monochromatic
#A112D7 #BC39EE #CF71F3 #E2A9F8 #F5E2FD

Accessibility & contrast

On white

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

On black

7.31
#CF71F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71F3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71F3#FFFFFF#000000##000000
##CF71F31.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F7
Deuteranopia (green-blind)
#729BF0
Tritanopia (blue-blind)
#CD86A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf71f3;
/* rgb */ color: rgb(207, 113, 243);
/* oklch */ color: oklch(70.5% 0.202 315.8);
Tailwind
colors: {
  custom: {
    50: '#e09df7',
    500: '#cf71f3',
    950: '#000000',
  },
}
SCSS
$custom: #cf71f3;
$custom-light: #e09df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71f3",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 283.385,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70484,
    "c": 0.20158,
    "h": 315.8
  },
  "luminance": 0.31547
}

Semantic roles & 50–950 ramp

primary
#CF71F3
secondary
#D8F2CE
accent
#E10542
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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