#CF71E7#CF71E7

#CF71E7 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.9% C 0.190 H 319.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CF71E7
RGBrgb(207, 113, 231)
HSLhsl(288, 71%, 67%)
HSVhsv(288, 51%, 91%)
CMYKcmyk(10.4%, 51.1%, 0%, 9.4%)
CIE-LABlab(62.38, 54.89, -44.67)
CIE-LCHlch(62.38, 70.77, 320.87°)
OKLaboklab(69.86% 0.1434 -0.1239)
OKLCHoklch(69.86% 0.19 319.2)
XYZxyz(46.0592, 30.8469, 79.1137)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71E7 #89E771
analogous
#9471E7 #CF71E7 #E771C4
triadic
#CF71E7 #E7CF71 #71E7CF
tetradic
#CF71E7 #E79471 #89E771 #71C4E7
square
#CF71E7 #E79471 #89E771 #71C4E7
split-complementary
#CF71E7 #C4E771 #71E794
monochromatic
#9E20BE #BD3DDE #CF71E7 #E1A5F0 #F2DAF9

Accessibility & contrast

On white

2.93
#CF71E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CF71E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71E7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71E7#FFFFFF#000000##000000
##CF71E71.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#789AE4
Tritanopia (blue-blind)
#D082A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf71e7;
/* rgb */ color: rgb(207, 113, 231);
/* oklch */ color: oklch(69.9% 0.190 319.2);
Tailwind
colors: {
  custom: {
    50: '#e09def',
    500: '#cf71e7',
    950: '#000000',
  },
}
SCSS
$custom: #cf71e7;
$custom-light: #e09def;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71e7",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 287.797,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69858,
    "c": 0.18952,
    "h": 319.2
  },
  "luminance": 0.30845
}

Semantic roles & 50–950 ramp

primary
#CF71E7
secondary
#CFECC7
accent
#D3123A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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