#CF71EF#CF71EF

#CF71EF is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.3% C 0.198 H 316.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CF71EF
RGBrgb(207, 113, 239)
HSLhsl(285, 80%, 69%)
HSVhsv(285, 53%, 94%)
CMYKcmyk(13.4%, 52.7%, 0%, 6.3%)
CIE-LABlab(62.77, 56.47, -48.49)
CIE-LCHlch(62.77, 74.44, 319.35°)
OKLaboklab(70.27% 0.1442 -0.135)
OKLCHoklch(70.27% 0.198 316.9)
XYZxyz(47.2150, 31.3092, 85.2008)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71EF #91EF71
analogous
#9071EF #CF71EF #EF71D0
triadic
#CF71EF #EFCF71 #71EFCF
tetradic
#CF71EF #EF9071 #91EF71 #71D0EF
square
#CF71EF #EF9071 #91EF71 #71D0EF
split-complementary
#CF71EF #D0EF71 #71EF90
monochromatic
#A017CE #BC3AE9 #CF71EF #E2A8F5 #F4DFFB

Accessibility & contrast

On white

2.89
#CF71EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CF71EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71EF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71EF#FFFFFF#000000##000000
##CF71EF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#749BEC
Tritanopia (blue-blind)
#CE84A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf71ef;
/* rgb */ color: rgb(207, 113, 239);
/* oklch */ color: oklch(70.3% 0.198 316.9);
Tailwind
colors: {
  custom: {
    50: '#e09df5',
    500: '#cf71ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf71ef;
$custom-light: #e09df5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71ef",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 284.762,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70272,
    "c": 0.19754,
    "h": 316.9
  },
  "luminance": 0.31308
}

Semantic roles & 50–950 ramp

primary
#CF71EF
secondary
#D5F0CB
accent
#DC093F
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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