#CF71DC#CF71DC

#CF71DC is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.179 H 322.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CF71DC
RGBrgb(207, 113, 220)
HSLhsl(293, 60%, 65%)
HSVhsv(293, 49%, 86%)
CMYKcmyk(5.9%, 48.6%, 0%, 13.7%)
CIE-LABlab(61.87, 52.78, -39.33)
CIE-LCHlch(61.87, 65.83, 323.31°)
OKLaboklab(69.31% 0.142 -0.1085)
OKLCHoklch(69.31% 0.179 322.6)
XYZxyz(44.5542, 30.2449, 71.1872)
Luminance0.3024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71DC #7EDC71
analogous
#9971DC #CF71DC #DC71B4
triadic
#CF71DC #DCCF71 #71DCCF
tetradic
#CF71DC #DC9971 #7EDC71 #71B4DC
square
#CF71DC #DC9971 #7EDC71 #71B4DC
split-complementary
#CF71DC #B4DC71 #71DC99
monochromatic
#992AA9 #BE40D0 #CF71DC #E0A2E8 #F0D3F4

Accessibility & contrast

On white

2.98
#CF71DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CF71DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71DC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71DC#FFFFFF#000000##000000
##CF71DC1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EE0
Deuteranopia (green-blind)
#7E99D9
Tritanopia (blue-blind)
#D27E9C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf71dc;
/* rgb */ color: rgb(207, 113, 220);
/* oklch */ color: oklch(69.3% 0.179 322.6);
Tailwind
colors: {
  custom: {
    50: '#e09de7',
    500: '#cf71dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf71dc;
$custom-light: #e09de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71dc",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 292.71,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69311,
    "c": 0.1787,
    "h": 322.6
  },
  "luminance": 0.30243
}

Semantic roles & 50–950 ramp

primary
#CF71DC
secondary
#C7E6C2
accent
#C81D32
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CF71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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