#CF71FB#CF71FB

#CF71FB is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 70.9% C 0.210 H 313.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CF71FB
RGBrgb(207, 113, 251)
HSLhsl(281, 95%, 71%)
HSVhsv(281, 55%, 98%)
CMYKcmyk(17.5%, 55%, 0%, 1.6%)
CIE-LABlab(63.38, 58.90, -54.15)
CIE-LCHlch(63.38, 80.01, 317.41°)
OKLaboklab(70.92% 0.1451 -0.1515)
OKLCHoklch(70.92% 0.21 313.8)
XYZxyz(49.0469, 32.0420, 94.8491)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71FB #9DFB71
analogous
#8A71FB #CF71FB #FB71E2
triadic
#CF71FB #FBCF71 #71FBCF
tetradic
#CF71FB #FB8A71 #9DFB71 #71E2FB
square
#CF71FB #FB8A71 #9DFB71 #71E2FB
split-complementary
#CF71FB #E2FB71 #71FB8A
monochromatic
#A207EB #BB35F9 #CF71FB #E3ADFD #F5E1FE

Accessibility & contrast

On white

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

On black

7.41
#CF71FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71FB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71FB#FFFFFF#000000##000000
##CF71FB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#6C9CF7
Tritanopia (blue-blind)
#CB88AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf71fb;
/* rgb */ color: rgb(207, 113, 251);
/* oklch */ color: oklch(70.9% 0.210 313.8);
Tailwind
colors: {
  custom: {
    50: '#e19dfd',
    500: '#cf71fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf71fb;
$custom-light: #e19dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71fb",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 280.87,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70918,
    "c": 0.20973,
    "h": 313.8
  },
  "luminance": 0.32041
}

Semantic roles & 50–950 ramp

primary
#CF71FB
secondary
#DDF6D2
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CF71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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