#CF71E9#CF71E9

#CF71E9 is a light, vivid purple. Relative luminance 0.310; OKLCH L 70.0% C 0.192 H 318.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CF71E9
RGBrgb(207, 113, 233)
HSLhsl(287, 73%, 68%)
HSVhsv(287, 52%, 91%)
CMYKcmyk(11.2%, 51.5%, 0%, 8.6%)
CIE-LABlab(62.47, 55.29, -45.63)
CIE-LCHlch(62.47, 71.68, 320.47°)
OKLaboklab(69.96% 0.1436 -0.1267)
OKLCHoklch(69.96% 0.192 318.6)
XYZxyz(46.3433, 30.9606, 80.6098)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71E9 #8BE971
analogous
#9371E9 #CF71E9 #E971C7
triadic
#CF71E9 #E9CF71 #71E9CF
tetradic
#CF71E9 #E99371 #8BE971 #71C7E9
square
#CF71E9 #E99371 #8BE971 #71C7E9
split-complementary
#CF71E9 #C7E971 #71E993
monochromatic
#9E1EC2 #BD3CE1 #CF71E9 #E1A6F1 #F3DBF9

Accessibility & contrast

On white

2.92
#CF71E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CF71E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71E9
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71E9#FFFFFF#000000##000000
##CF71E91.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91ED
Deuteranopia (green-blind)
#779AE6
Tritanopia (blue-blind)
#CF82A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf71e9;
/* rgb */ color: rgb(207, 113, 233);
/* oklch */ color: oklch(70.0% 0.192 318.6);
Tailwind
colors: {
  custom: {
    50: '#e09df0',
    500: '#cf71e9',
    950: '#000000',
  },
}
SCSS
$custom: #cf71e9;
$custom-light: #e09df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71e9",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 287,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6996,
    "c": 0.19151,
    "h": 318.6
  },
  "luminance": 0.30959
}

Semantic roles & 50–950 ramp

primary
#CF71E9
secondary
#D0EDC8
accent
#D5103B
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #CF71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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