#CF71FD#CF71FD

#CF71FD is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.0% C 0.212 H 313.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CF71FD
RGBrgb(207, 113, 253)
HSLhsl(280, 97%, 72%)
HSVhsv(280, 55%, 99%)
CMYKcmyk(18.2%, 55.3%, 0%, 0.8%)
CIE-LABlab(63.48, 59.31, -55.09)
CIE-LCHlch(63.48, 80.95, 317.12°)
OKLaboklab(71.03% 0.1452 -0.1542)
OKLCHoklch(71.03% 0.212 313.3)
XYZxyz(49.3639, 32.1688, 96.5183)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71FD #9FFD71
analogous
#8971FD #CF71FD #FD71E5
triadic
#CF71FD #FDCF71 #71FDCF
tetradic
#CF71FD #FD8971 #9FFD71 #71E5FD
square
#CF71FD #FD8971 #9FFD71 #71E5FD
split-complementary
#CF71FD #E5FD71 #71FD89
monochromatic
#A203F0 #BB35FC #CF71FD #E3ADFE #F5E1FF

Accessibility & contrast

On white

2.83
#CF71FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CF71FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71FD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71FD#FFFFFF#000000##000000
##CF71FD1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#6B9CF9
Tritanopia (blue-blind)
#CB89AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf71fd;
/* rgb */ color: rgb(207, 113, 253);
/* oklch */ color: oklch(71.0% 0.212 313.3);
Tailwind
colors: {
  custom: {
    50: '#e19dff',
    500: '#cf71fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf71fd;
$custom-light: #e19dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71fd",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 280.286,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71028,
    "c": 0.21178,
    "h": 313.3
  },
  "luminance": 0.32168
}

Semantic roles & 50–950 ramp

primary
#CF71FD
secondary
#DFF7D3
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CF71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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