#CF71E2#CF71E2

#CF71E2 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.185 H 320.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CF71E2
RGBrgb(207, 113, 226)
HSLhsl(290, 66%, 66%)
HSVhsv(290, 50%, 89%)
CMYKcmyk(8.4%, 50%, 0%, 11.4%)
CIE-LABlab(62.14, 53.93, -42.25)
CIE-LCHlch(62.14, 68.51, 321.92°)
OKLaboklab(69.61% 0.1428 -0.1169)
OKLCHoklch(69.61% 0.185 320.7)
XYZxyz(45.3631, 30.5685, 75.4476)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71E2 #84E271
analogous
#9771E2 #CF71E2 #E271BC
triadic
#CF71E2 #E2CF71 #71E2CF
tetradic
#CF71E2 #E29771 #84E271 #71BCE2
square
#CF71E2 #E29771 #84E271 #71BCE2
split-complementary
#CF71E2 #BCE271 #71E297
monochromatic
#9C25B4 #BE3ED8 #CF71E2 #E0A4EC #F1D7F7

Accessibility & contrast

On white

2.95
#CF71E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CF71E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71E2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71E2#FFFFFF#000000##000000
##CF71E21.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf71e2;
/* rgb */ color: rgb(207, 113, 226);
/* oklch */ color: oklch(69.6% 0.185 320.7);
Tailwind
colors: {
  custom: {
    50: '#e09deb',
    500: '#cf71e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf71e2;
$custom-light: #e09deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71e2",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 289.912,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69606,
    "c": 0.18456,
    "h": 320.7
  },
  "luminance": 0.30567
}

Semantic roles & 50–950 ramp

primary
#CF71E2
secondary
#CBEAC5
accent
#CE1836
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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