#CF71E1#CF71E1

#CF71E1 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.6% C 0.184 H 321.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CF71E1
RGBrgb(207, 113, 225)
HSLhsl(290, 65%, 66%)
HSVhsv(290, 50%, 88%)
CMYKcmyk(8%, 49.8%, 0%, 11.8%)
CIE-LABlab(62.09, 53.73, -41.77)
CIE-LCHlch(62.09, 68.06, 322.14°)
OKLaboklab(69.56% 0.1427 -0.1155)
OKLCHoklch(69.56% 0.184 321)
XYZxyz(45.2263, 30.5138, 74.7270)
Luminance0.3051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71E1 #83E171
analogous
#9771E1 #CF71E1 #E171BB
triadic
#CF71E1 #E1CF71 #71E1CF
tetradic
#CF71E1 #E19771 #83E171 #71BBE1
square
#CF71E1 #E19771 #83E171 #71BBE1
split-complementary
#CF71E1 #BBE171 #71E197
monochromatic
#9B26B2 #BE3ED6 #CF71E1 #E0A4EC #F1D6F6

Accessibility & contrast

On white

2.96
#CF71E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CF71E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71E1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71E1#FFFFFF#000000##000000
##CF71E11.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8FE5
Deuteranopia (green-blind)
#7B9ADE
Tritanopia (blue-blind)
#D1809F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cf71e1;
/* rgb */ color: rgb(207, 113, 225);
/* oklch */ color: oklch(69.6% 0.184 321.0);
Tailwind
colors: {
  custom: {
    50: '#e09deb',
    500: '#cf71e1',
    950: '#000000',
  },
}
SCSS
$custom: #cf71e1;
$custom-light: #e09deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71e1",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 290.357,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69556,
    "c": 0.18359,
    "h": 321
  },
  "luminance": 0.30512
}

Semantic roles & 50–950 ramp

primary
#CF71E1
secondary
#CAE9C5
accent
#CD1936
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E16
muted
#847E84

Preview Lab

Preview with #CF71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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