#CF71E4#CF71E4

#CF71E4 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.187 H 320.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CF71E4
RGBrgb(207, 113, 228)
HSLhsl(289, 68%, 67%)
HSVhsv(289, 50%, 89%)
CMYKcmyk(9.2%, 50.4%, 0%, 10.6%)
CIE-LABlab(62.24, 54.31, -43.22)
CIE-LCHlch(62.24, 69.41, 321.49°)
OKLaboklab(69.71% 0.143 -0.1197)
OKLCHoklch(69.71% 0.187 320.1)
XYZxyz(45.6391, 30.6789, 76.9013)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71E4 #86E471
analogous
#9571E4 #CF71E4 #E471C0
triadic
#CF71E4 #E4CF71 #71E4CF
tetradic
#CF71E4 #E49571 #86E471 #71C0E4
square
#CF71E4 #E49571 #86E471 #71C0E4
split-complementary
#CF71E4 #C0E471 #71E495
monochromatic
#9D23B8 #BE3EDA #CF71E4 #E0A4EE #F2D8F8

Accessibility & contrast

On white

2.94
#CF71E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CF71E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71E4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71E4#FFFFFF#000000##000000
##CF71E41.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#D081A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cf71e4;
/* rgb */ color: rgb(207, 113, 228);
/* oklch */ color: oklch(69.7% 0.187 320.1);
Tailwind
colors: {
  custom: {
    50: '#e09ded',
    500: '#cf71e4',
    950: '#000000',
  },
}
SCSS
$custom: #cf71e4;
$custom-light: #e09ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71e4",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 289.043,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69706,
    "c": 0.18654,
    "h": 320.1
  },
  "luminance": 0.30677
}

Semantic roles & 50–950 ramp

primary
#CF71E4
secondary
#CDEBC6
accent
#D01638
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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