#CF71C8#CF71C8

#CF71C8 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.4% C 0.160 H 329.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#CF71C8
RGBrgb(207, 113, 200)
HSLhsl(304, 49%, 63%)
HSVhsv(304, 45%, 81%)
CMYKcmyk(0%, 45.4%, 3.4%, 18.8%)
CIE-LABlab(61.00, 49.13, -29.43)
CIE-LCHlch(61.00, 57.27, 329.08°)
OKLaboklab(68.38% 0.1385 -0.0802)
OKLCHoklch(68.38% 0.16 329.9)
XYZxyz(42.0621, 29.2481, 58.0623)
Luminance0.2925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71C8 #71CF78
analogous
#A771CF #CF71C8 #CF7199
triadic
#CF71C8 #C8CF71 #71C8CF
tetradic
#CF71C8 #CFA771 #71CF78 #7199CF
square
#CF71C8 #CFA771 #71CF78 #7199CF
split-complementary
#CF71C8 #99CF71 #71CFA7
monochromatic
#94328C #C043B6 #CF71C8 #DE9FDA #EECCEB

Accessibility & contrast

On white

3.07
#CF71C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#CF71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71C8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71C8#FFFFFF#000000##000000
##CF71C81.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8BCB
Deuteranopia (green-blind)
#8698C5
Tritanopia (blue-blind)
#D57993
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf71c8;
/* rgb */ color: rgb(207, 113, 200);
/* oklch */ color: oklch(68.4% 0.160 329.9);
Tailwind
colors: {
  custom: {
    50: '#df9dd9',
    500: '#cf71c8',
    950: '#000000',
  },
}
SCSS
$custom: #cf71c8;
$custom-light: #df9dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71c8",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 304.468,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68385,
    "c": 0.16003,
    "h": 329.9
  },
  "luminance": 0.29246
}

Semantic roles & 50–950 ramp

primary
#CF71C8
secondary
#BDDFBF
accent
#BD3429
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CF71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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