#CF71F5#CF71F5

#CF71F5 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.6% C 0.204 H 315.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CF71F5
RGBrgb(207, 113, 245)
HSLhsl(283, 87%, 70%)
HSVhsv(283, 54%, 96%)
CMYKcmyk(15.5%, 53.9%, 0%, 3.9%)
CIE-LABlab(63.07, 57.68, -51.33)
CIE-LCHlch(63.07, 77.21, 318.33°)
OKLaboklab(70.59% 0.1447 -0.1433)
OKLCHoklch(70.59% 0.204 315.3)
XYZxyz(48.1161, 31.6697, 89.9467)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71F5 #97F571
analogous
#8D71F5 #CF71F5 #F571D9
triadic
#CF71F5 #F5CF71 #71F5CF
tetradic
#CF71F5 #F58D71 #97F571 #71D9F5
square
#CF71F5 #F58D71 #97F571 #71D9F5
split-complementary
#CF71F5 #D9F571 #71F58D
monochromatic
#A110DC #BC38F1 #CF71F5 #E2AAF9 #F5E2FD

Accessibility & contrast

On white

2.86
#CF71F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CF71F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71F5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71F5#FFFFFF#000000##000000
##CF71F51.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#709BF2
Tritanopia (blue-blind)
#CD86A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf71f5;
/* rgb */ color: rgb(207, 113, 245);
/* oklch */ color: oklch(70.6% 0.204 315.3);
Tailwind
colors: {
  custom: {
    50: '#e09df9',
    500: '#cf71f5',
    950: '#000000',
  },
}
SCSS
$custom: #cf71f5;
$custom-light: #e09df9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71f5",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 282.727,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70591,
    "c": 0.20361,
    "h": 315.3
  },
  "luminance": 0.31668
}

Semantic roles & 50–950 ramp

primary
#CF71F5
secondary
#D9F3CF
accent
#E30243
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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