#CF71E8#CF71E8

#CF71E8 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.9% C 0.191 H 318.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CF71E8
RGBrgb(207, 113, 232)
HSLhsl(287, 72%, 68%)
HSVhsv(287, 51%, 91%)
CMYKcmyk(10.8%, 51.3%, 0%, 9%)
CIE-LABlab(62.43, 55.09, -45.15)
CIE-LCHlch(62.43, 71.23, 320.66°)
OKLaboklab(69.91% 0.1435 -0.1253)
OKLCHoklch(69.91% 0.191 318.9)
XYZxyz(46.2008, 30.9036, 79.8596)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71E8 #8AE871
analogous
#9371E8 #CF71E8 #E871C5
triadic
#CF71E8 #E8CF71 #71E8CF
tetradic
#CF71E8 #E89371 #8AE871 #71C5E8
square
#CF71E8 #E89371 #8AE871 #71C5E8
split-complementary
#CF71E8 #C5E871 #71E893
monochromatic
#9E1FC0 #BD3CDF #CF71E8 #E1A6F1 #F3DAF9

Accessibility & contrast

On white

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

On black

7.18
#CF71E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71E8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71E8#FFFFFF#000000##000000
##CF71E81.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B91EC
Deuteranopia (green-blind)
#789AE5
Tritanopia (blue-blind)
#CF82A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf71e8;
/* rgb */ color: rgb(207, 113, 232);
/* oklch */ color: oklch(69.9% 0.191 318.9);
Tailwind
colors: {
  custom: {
    50: '#e09df0',
    500: '#cf71e8',
    950: '#000000',
  },
}
SCSS
$custom: #cf71e8;
$custom-light: #e09df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71e8",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 287.395,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69909,
    "c": 0.19051,
    "h": 318.9
  },
  "luminance": 0.30902
}

Semantic roles & 50–950 ramp

primary
#CF71E8
secondary
#D0EDC8
accent
#D4113A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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