#CF71E5#CF71E5

#CF71E5 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.8% C 0.188 H 319.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CF71E5
RGBrgb(207, 113, 229)
HSLhsl(289, 69%, 67%)
HSVhsv(289, 51%, 90%)
CMYKcmyk(9.6%, 50.7%, 0%, 10.2%)
CIE-LABlab(62.28, 54.51, -43.70)
CIE-LCHlch(62.28, 69.86, 321.28°)
OKLaboklab(69.76% 0.1432 -0.1211)
OKLCHoklch(69.76% 0.188 319.8)
XYZxyz(45.7783, 30.7346, 77.6345)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71E5 #87E571
analogous
#9571E5 #CF71E5 #E571C1
triadic
#CF71E5 #E5CF71 #71E5CF
tetradic
#CF71E5 #E59571 #87E571 #71C1E5
square
#CF71E5 #E59571 #87E571 #71C1E5
split-complementary
#CF71E5 #C1E571 #71E595
monochromatic
#9D22BA #BE3DDC #CF71E5 #E0A5EE #F2D8F8

Accessibility & contrast

On white

2.94
#CF71E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CF71E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71E5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71E5#FFFFFF#000000##000000
##CF71E51.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E9
Deuteranopia (green-blind)
#799AE2
Tritanopia (blue-blind)
#D081A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf71e5;
/* rgb */ color: rgb(207, 113, 229);
/* oklch */ color: oklch(69.8% 0.188 319.8);
Tailwind
colors: {
  custom: {
    50: '#e09ded',
    500: '#cf71e5',
    950: '#000000',
  },
}
SCSS
$custom: #cf71e5;
$custom-light: #e09ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71e5",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 288.621,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69756,
    "c": 0.18753,
    "h": 319.8
  },
  "luminance": 0.30733
}

Semantic roles & 50–950 ramp

primary
#CF71E5
secondary
#CDEBC6
accent
#D11438
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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