#CF71F2#CF71F2

#CF71F2 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.4% C 0.201 H 316.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CF71F2
RGBrgb(207, 113, 242)
HSLhsl(284, 83%, 70%)
HSVhsv(284, 53%, 95%)
CMYKcmyk(14.5%, 53.3%, 0%, 5.1%)
CIE-LABlab(62.92, 57.07, -49.92)
CIE-LCHlch(62.92, 75.82, 318.83°)
OKLaboklab(70.43% 0.1444 -0.1391)
OKLCHoklch(70.43% 0.201 316.1)
XYZxyz(47.6618, 31.4880, 87.5543)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71F2 #94F271
analogous
#8F71F2 #CF71F2 #F271D5
triadic
#CF71F2 #F2CF71 #71F2CF
tetradic
#CF71F2 #F28F71 #94F271 #71D5F2
square
#CF71F2 #F28F71 #94F271 #71D5F2
split-complementary
#CF71F2 #D5F271 #71F28F
monochromatic
#A114D5 #BC39ED #CF71F2 #E2A9F7 #F5E1FC

Accessibility & contrast

On white

2.88
#CF71F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CF71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71F2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71F2#FFFFFF#000000##000000
##CF71F21.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#CD85A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf71f2;
/* rgb */ color: rgb(207, 113, 242);
/* oklch */ color: oklch(70.4% 0.201 316.1);
Tailwind
colors: {
  custom: {
    50: '#e09df7',
    500: '#cf71f2',
    950: '#000000',
  },
}
SCSS
$custom: #cf71f2;
$custom-light: #e09df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71f2",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 283.721,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7043,
    "c": 0.20056,
    "h": 316.1
  },
  "luminance": 0.31486
}

Semantic roles & 50–950 ramp

primary
#CF71F2
secondary
#D7F2CD
accent
#E00641
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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