#CF71D8#CF71D8

#CF71D8 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.175 H 324.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CF71D8
RGBrgb(207, 113, 216)
HSLhsl(295, 57%, 65%)
HSVhsv(295, 48%, 85%)
CMYKcmyk(4.2%, 47.7%, 0%, 15.3%)
CIE-LABlab(61.68, 52.03, -37.37)
CIE-LCHlch(61.68, 64.06, 324.31°)
OKLaboklab(69.12% 0.1414 -0.1029)
OKLCHoklch(69.12% 0.175 324)
XYZxyz(44.0308, 30.0356, 68.4306)
Luminance0.3003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71D8 #7AD871
analogous
#9C71D8 #CF71D8 #D871AE
triadic
#CF71D8 #D8CF71 #71D8CF
tetradic
#CF71D8 #D89C71 #7AD871 #71AED8
square
#CF71D8 #D89C71 #7AD871 #71AED8
split-complementary
#CF71D8 #AED871 #71D89C
monochromatic
#982DA2 #BF41CB #CF71D8 #DFA1E5 #EFD1F2

Accessibility & contrast

On white

3.00
#CF71D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#CF71D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71D8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71D8#FFFFFF#000000##000000
##CF71D81.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#648EDB
Deuteranopia (green-blind)
#8099D5
Tritanopia (blue-blind)
#D37D9B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf71d8;
/* rgb */ color: rgb(207, 113, 216);
/* oklch */ color: oklch(69.1% 0.175 324.0);
Tailwind
colors: {
  custom: {
    50: '#e09de4',
    500: '#cf71d8',
    950: '#000000',
  },
}
SCSS
$custom: #cf71d8;
$custom-light: #e09de4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71d8",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 294.757,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69118,
    "c": 0.17486,
    "h": 324
  },
  "luminance": 0.30034
}

Semantic roles & 50–950 ramp

primary
#CF71D8
secondary
#C4E4C1
accent
#C4212F
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #CF71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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