#CF71FC#CF71FC

#CF71FC is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.0% C 0.211 H 313.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CF71FC
RGBrgb(207, 113, 252)
HSLhsl(281, 96%, 72%)
HSVhsv(281, 55%, 99%)
CMYKcmyk(17.9%, 55.2%, 0%, 1.2%)
CIE-LABlab(63.43, 59.11, -54.62)
CIE-LCHlch(63.43, 80.48, 317.26°)
OKLaboklab(70.97% 0.1451 -0.1529)
OKLCHoklch(70.97% 0.211 313.5)
XYZxyz(49.2050, 32.1053, 95.6815)
Luminance0.3210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71FC #9EFC71
analogous
#8A71FC #CF71FC #FC71E3
triadic
#CF71FC #FCCF71 #71FCCF
tetradic
#CF71FC #FC8A71 #9EFC71 #71E3FC
square
#CF71FC #FC8A71 #9EFC71 #71E3FC
split-complementary
#CF71FC #E3FC71 #71FC8A
monochromatic
#A205EE #BB35FB #CF71FC #E3ADFD #F5E1FE

Accessibility & contrast

On white

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

On black

7.42
#CF71FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71FC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71FC#FFFFFF#000000##000000
##CF71FC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#CB89AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf71fc;
/* rgb */ color: rgb(207, 113, 252);
/* oklch */ color: oklch(71.0% 0.211 313.5);
Tailwind
colors: {
  custom: {
    50: '#e19dfe',
    500: '#cf71fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf71fc;
$custom-light: #e19dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71fc",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 280.576,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70973,
    "c": 0.21075,
    "h": 313.5
  },
  "luminance": 0.32104
}

Semantic roles & 50–950 ramp

primary
#CF71FC
secondary
#DEF6D3
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CF71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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