#CF71FE#CF71FE

#CF71FE is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.1% C 0.213 H 313.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CF71FE
RGBrgb(207, 113, 254)
HSLhsl(280, 99%, 72%)
HSVhsv(280, 56%, 100%)
CMYKcmyk(18.5%, 55.5%, 0%, 0.4%)
CIE-LABlab(63.53, 59.52, -55.55)
CIE-LCHlch(63.53, 81.42, 316.98°)
OKLaboklab(71.08% 0.1452 -0.1556)
OKLCHoklch(71.08% 0.213 313)
XYZxyz(49.5236, 32.2327, 97.3594)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71FE #A0FE71
analogous
#8971FE #CF71FE #FE71E6
triadic
#CF71FE #FECF71 #71FECF
tetradic
#CF71FE #FE8971 #A0FE71 #71E6FE
square
#CF71FE #FE8971 #A0FE71 #71E6FE
split-complementary
#CF71FE #E6FE71 #71FE89
monochromatic
#A202F3 #BA34FE #CF71FE #E4AEFE #F5E1FF

Accessibility & contrast

On white

2.82
#CF71FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CF71FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71FE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71FE#FFFFFF#000000##000000
##CF71FE1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#CA89AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf71fe;
/* rgb */ color: rgb(207, 113, 254);
/* oklch */ color: oklch(71.1% 0.213 313.0);
Tailwind
colors: {
  custom: {
    50: '#e19dff',
    500: '#cf71fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf71fe;
$custom-light: #e19dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71fe",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 280,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71084,
    "c": 0.2128,
    "h": 313
  },
  "luminance": 0.32231
}

Semantic roles & 50–950 ramp

primary
#CF71FE
secondary
#E0F7D4
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CF71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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