#CF71F9#CF71F9

#CF71F9 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 70.8% C 0.208 H 314.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CF71F9
RGBrgb(207, 113, 249)
HSLhsl(281, 92%, 71%)
HSVhsv(281, 55%, 98%)
CMYKcmyk(16.9%, 54.6%, 0%, 2.4%)
CIE-LABlab(63.27, 58.49, -53.21)
CIE-LCHlch(63.27, 79.08, 317.70°)
OKLaboklab(70.81% 0.1449 -0.1488)
OKLCHoklch(70.81% 0.208 314.3)
XYZxyz(48.7333, 31.9166, 93.1975)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71F9 #9BF971
analogous
#8B71F9 #CF71F9 #F971DF
triadic
#CF71F9 #F9CF71 #71F9CF
tetradic
#CF71F9 #F98B71 #9BF971 #71DFF9
square
#CF71F9 #F98B71 #9BF971 #71DFF9
split-complementary
#CF71F9 #DFF971 #71F98B
monochromatic
#A20AE6 #BB36F7 #CF71F9 #E3ACFB #F5E2FE

Accessibility & contrast

On white

2.84
#CF71F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CF71F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71F9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71F9#FFFFFF#000000##000000
##CF71F91.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FD
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#CC88AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf71f9;
/* rgb */ color: rgb(207, 113, 249);
/* oklch */ color: oklch(70.8% 0.208 314.3);
Tailwind
colors: {
  custom: {
    50: '#e09dfc',
    500: '#cf71f9',
    950: '#000000',
  },
}
SCSS
$custom: #cf71f9;
$custom-light: #e09dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71f9",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 281.471,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70808,
    "c": 0.20769,
    "h": 314.3
  },
  "luminance": 0.31915
}

Semantic roles & 50–950 ramp

primary
#CF71F9
secondary
#DCF5D1
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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