#CF71F0#CF71F0

#CF71F0 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.3% C 0.199 H 316.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CF71F0
RGBrgb(207, 113, 240)
HSLhsl(284, 81%, 69%)
HSVhsv(284, 53%, 94%)
CMYKcmyk(13.7%, 52.9%, 0%, 5.9%)
CIE-LABlab(62.82, 56.67, -48.97)
CIE-LCHlch(62.82, 74.90, 319.17°)
OKLaboklab(70.32% 0.1443 -0.1364)
OKLCHoklch(70.32% 0.199 316.6)
XYZxyz(47.3631, 31.3685, 85.9810)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71F0 #92F071
analogous
#9071F0 #CF71F0 #F071D2
triadic
#CF71F0 #F0CF71 #71F0CF
tetradic
#CF71F0 #F09071 #92F071 #71D2F0
square
#CF71F0 #F09071 #92F071 #71D2F0
split-complementary
#CF71F0 #D2F071 #71F090
monochromatic
#A016D1 #BC3AEA #CF71F0 #E2A8F6 #F4E0FC

Accessibility & contrast

On white

2.89
#CF71F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CF71F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71F0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71F0#FFFFFF#000000##000000
##CF71F01.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F4
Deuteranopia (green-blind)
#739BED
Tritanopia (blue-blind)
#CE85A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf71f0;
/* rgb */ color: rgb(207, 113, 240);
/* oklch */ color: oklch(70.3% 0.199 316.6);
Tailwind
colors: {
  custom: {
    50: '#e09df5',
    500: '#cf71f0',
    950: '#000000',
  },
}
SCSS
$custom: #cf71f0;
$custom-light: #e09df5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71f0",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 284.409,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70324,
    "c": 0.19855,
    "h": 316.6
  },
  "luminance": 0.31367
}

Semantic roles & 50–950 ramp

primary
#CF71F0
secondary
#D6F1CC
accent
#DD0840
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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