#CF71F7#CF71F7

#CF71F7 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 70.7% C 0.206 H 314.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CF71F7
RGBrgb(207, 113, 247)
HSLhsl(282, 89%, 71%)
HSVhsv(282, 54%, 97%)
CMYKcmyk(16.2%, 54.3%, 0%, 3.1%)
CIE-LABlab(63.17, 58.08, -52.28)
CIE-LCHlch(63.17, 78.14, 318.01°)
OKLaboklab(70.7% 0.1448 -0.146)
OKLCHoklch(70.7% 0.206 314.8)
XYZxyz(48.4231, 31.7925, 91.5634)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71F7 #99F771
analogous
#8C71F7 #CF71F7 #F771DC
triadic
#CF71F7 #F7CF71 #71F7CF
tetradic
#CF71F7 #F78C71 #99F771 #71DCF7
square
#CF71F7 #F78C71 #99F771 #71DCF7
split-complementary
#CF71F7 #DCF771 #71F78C
monochromatic
#A20DE1 #BB37F4 #CF71F7 #E3ABFA #F5E2FD

Accessibility & contrast

On white

2.85
#CF71F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CF71F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71F7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71F7#FFFFFF#000000##000000
##CF71F71.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#6F9BF4
Tritanopia (blue-blind)
#CC87AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf71f7;
/* rgb */ color: rgb(207, 113, 247);
/* oklch */ color: oklch(70.7% 0.206 314.8);
Tailwind
colors: {
  custom: {
    50: '#e09dfa',
    500: '#cf71f7',
    950: '#000000',
  },
}
SCSS
$custom: #cf71f7;
$custom-light: #e09dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71f7",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 282.09,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.20565,
    "h": 314.8
  },
  "luminance": 0.31791
}

Semantic roles & 50–950 ramp

primary
#CF71F7
secondary
#DBF4D0
accent
#E60045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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